#5B5F11#5B5F11

#5B5F11 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.7% C 0.096 H 112.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5B5F11
RGBrgb(91, 95, 17)
HSLhsl(63, 70%, 22%)
HSVhsv(63, 82%, 37%)
CMYKcmyk(4.2%, 0%, 82.1%, 62.7%)
CIE-LABlab(38.64, -11.84, 40.58)
CIE-LCHlch(38.64, 42.27, 106.26°)
OKLaboklab(46.7% -0.0369 0.0887)
OKLCHoklch(46.7% 0.096 112.6)
XYZxyz(8.5081, 10.4492, 2.0989)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5F11 #15115F
analogous
#5F3C11 #5B5F11 #345F11
triadic
#5B5F11 #115B5F #5F115B
tetradic
#5B5F11 #115F3C #15115F #5F1134
square
#5B5F11 #115F3C #15115F #5F1134
split-complementary
#5B5F11 #11345F #3C115F
monochromatic
#191A05 #292B08 #5B5F11 #8D931A #BEC724

Accessibility & contrast

On white

6.80
#5B5F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5B5F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5F11
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5F11#FFFFFF#000000##FFFFFF
##5B5F111.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#625951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b5f11;
/* rgb */ color: rgb(91, 95, 17);
/* oklch */ color: oklch(46.7% 0.096 112.6);
Tailwind
colors: {
  custom: {
    50: '#8c8c57',
    500: '#5b5f11',
    950: '#000000',
  },
}
SCSS
$custom: #5b5f11;
$custom-light: #8c8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5f11",
  "rgb": {
    "r": 91,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 63.077,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46695,
    "c": 0.09608,
    "h": 112.6
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#5B5F11
secondary
#393498
accent
#3BEC44
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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