#5B5E11#5B5E11

#5B5E11 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.4% C 0.095 H 111.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5B5E11
RGBrgb(91, 94, 17)
HSLhsl(62, 69%, 22%)
HSVhsv(62, 82%, 37%)
CMYKcmyk(3.2%, 0%, 81.9%, 63.1%)
CIE-LABlab(38.32, -11.27, 40.29)
CIE-LCHlch(38.32, 41.84, 105.63°)
OKLaboklab(46.44% -0.0354 0.0881)
OKLCHoklch(46.44% 0.095 111.9)
XYZxyz(8.4186, 10.2702, 2.0691)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5E11 #14115E
analogous
#5E3B11 #5B5E11 #355E11
triadic
#5B5E11 #115B5E #5E115B
tetradic
#5B5E11 #115E3B #14115E #5E1135
square
#5B5E11 #115E3B #14115E #5E1135
split-complementary
#5B5E11 #11355E #3B115E
monochromatic
#191A05 #292A08 #5B5E11 #8D921A #BFC624

Accessibility & contrast

On white

6.88
#5B5E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5B5E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5E11
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5E11#FFFFFF#000000##FFFFFF
##5B5E111.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#625850
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5b5e11;
/* rgb */ color: rgb(91, 94, 17);
/* oklch */ color: oklch(46.4% 0.095 111.9);
Tailwind
colors: {
  custom: {
    50: '#8c8b57',
    500: '#5b5e11',
    950: '#000000',
  },
}
SCSS
$custom: #5b5e11;
$custom-light: #8c8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5e11",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 62.338,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.09493,
    "h": 111.9
  },
  "luminance": 0.1027
}

Semantic roles & 50–950 ramp

primary
#5B5E11
secondary
#383497
accent
#3CEC42
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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