#5B661E#5B661E

#5B661E is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.096 H 117.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5B661E
RGBrgb(91, 102, 30)
HSLhsl(69, 55%, 26%)
HSVhsv(69, 71%, 40%)
CMYKcmyk(10.8%, 0%, 70.6%, 60%)
CIE-LABlab(40.93, -14.98, 37.62)
CIE-LCHlch(40.93, 40.49, 111.72°)
OKLaboklab(48.56% -0.0444 0.0849)
OKLCHoklch(48.56% 0.096 117.6)
XYZxyz(9.3003, 11.8207, 3.0197)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B661E #291E66
analogous
#664D1E #5B661E #37661E
triadic
#5B661E #1E5B66 #661E5B
tetradic
#5B661E #1E664D #291E66 #661E37
square
#5B661E #1E664D #291E66 #661E37
split-complementary
#5B661E #1E3766 #4D1E66
monochromatic
#151807 #313710 #5B661E #85952C #AFC53A

Accessibility & contrast

On white

6.24
#5B661E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5B661E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B661E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B661E#FFFFFF#000000##FFFFFF
##5B661E1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6014
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#616057
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b661e;
/* rgb */ color: rgb(91, 102, 30);
/* oklch */ color: oklch(48.6% 0.096 117.6);
Tailwind
colors: {
  custom: {
    50: '#8c915e',
    500: '#5b661e',
    950: '#000000',
  },
}
SCSS
$custom: #5b661e;
$custom-light: #8c915e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b661e",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 69.167,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48563,
    "c": 0.09579,
    "h": 117.6
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#5B661E
secondary
#52459B
accent
#4ADE61
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5B661E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5B661E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva