Skip to content

#5B6238 Color

#5B6238 is rgb(91, 98, 56) in RGB, hsl(70, 27%, 30%) in HSL, and about cmyk(7%, 0%, 43%, 62%) in CMYK. The closest CSS named color is DarkOliveGreen (#556B2F). White text is the more readable choice on this background.

#5B6238
HEX#5B6238
RGBrgb(91, 98, 56)
HSLhsl(70, 27%, 30%)
HSVhsv(70, 43%, 38%)
CMYKcmyk(7%, 0%, 43%, 62%)
OKLCHoklch(47.9% 0.063 116.6)
LABlab(40.12% -8.31 22.90)
LCHlch(40.12% 24.36 109.94)

#5B6238 Channel Values

How #5B6238 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 91 · G 98 · B 568-bit channels as sent to the display
HSLH 70° · S 27% · L 30%Easiest model for building lighter and darker variants
HSVH 70° · S 43% · V 38%Matches the picker in most design tools
CMYKC 7% · M 0% · Y 43% · K 62%Approximate ink mix; confirm with an ICC profile before printing
Luminance6.46:1 vs white · 3.25:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #5B6238 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text6.46:1AA normal AA large AAA normal
TextBlack text3.25:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #5B6238 in the contrast checker.

Colors That Go With #5B6238

Pairings derived from color-wheel relationships. The complementary color sits opposite #5B6238; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #5B6238

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #5B6238.

How #5B6238 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#5B6238
Protanopia#616138
Protanomaly#5F6138
Deuteranopia#606038
Deuteranomaly#5E6138
Tritanopia#5F5E5E
Tritanomaly#5E6051
Achromatopsia#5E5E5E

Test a full palette in the color blindness simulator.

Using #5B6238 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-5b6238: #5B6238;
CSS backgroundbackground-color: #5B6238;
Tailwind configcolors: { 'color-5b6238': '#5B6238' }
SwiftUIColor(red: 0.357, green: 0.384, blue: 0.220)
Android XML<color name="color_5b6238">#5B6238</color>
SVG fillfill="#5B6238"

#5B6238 Frequently Asked Questions

What is the RGB value of #5B6238?

#5B6238 is rgb(91, 98, 56) — red 91, green 98, and blue 56 on the 0-255 scale.

What is the CMYK value of #5B6238?

#5B6238 converts to approximately cmyk(7%, 0%, 43%, 62%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #5B6238 be black or white?

White text is the more readable choice. #5B6238 scores 6.46:1 against white and 3.25:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Does #5B6238 have a color name?

#5B6238 is not one of the 140 CSS named colors. The closest named color is DarkOliveGreen (#556B2F), at a CIE76 distance of 11.2, so the two are visibly similar.

Open #5B6238 in a Tool

#5B6238 sits in the green family — browse every shade of green with hex codes, or return to the full color library.