#5B6611#5B6611

#5B6611 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.5% C 0.104 H 117.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5B6611
RGBrgb(91, 102, 17)
HSLhsl(68, 71%, 23%)
HSVhsv(68, 83%, 40%)
CMYKcmyk(10.8%, 0%, 83.3%, 60%)
CIE-LABlab(40.84, -15.72, 42.57)
CIE-LCHlch(40.84, 45.38, 110.27°)
OKLaboklab(48.47% -0.0477 0.093)
OKLCHoklch(48.47% 0.104 117.1)
XYZxyz(9.1672, 11.7675, 2.3186)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6611 #1C1166
analogous
#664611 #5B6611 #306611
triadic
#5B6611 #115B66 #66115B
tetradic
#5B6611 #116646 #1C1166 #661130
square
#5B6611 #116646 #1C1166 #661130
split-complementary
#5B6611 #113066 #461166
monochromatic
#171A04 #2C3208 #5B6611 #8A9A1A #B9CF22

Accessibility & contrast

On white

6.26
#5B6611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5B6611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6611
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6611#FFFFFF#000000##FFFFFF
##5B66111.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#616056
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b6611;
/* rgb */ color: rgb(91, 102, 17);
/* oklch */ color: oklch(48.5% 0.104 117.1);
Tailwind
colors: {
  custom: {
    50: '#8c9158',
    500: '#5b6611',
    950: '#000000',
  },
}
SCSS
$custom: #5b6611;
$custom-light: #8c9158;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6611",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 67.765,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.10446,
    "h": 117.1
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#5B6611
secondary
#42359E
accent
#3AEE51
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6611

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

Preview Lab → · Contrast checker → · Palette generator →

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