#5B5C11#5B5C11

#5B5C11 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.9% C 0.093 H 110.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5B5C11
RGBrgb(91, 92, 17)
HSLhsl(61, 69%, 21%)
HSVhsv(61, 82%, 36%)
CMYKcmyk(1.1%, 0%, 81.5%, 63.9%)
CIE-LABlab(37.70, -10.13, 39.72)
CIE-LCHlch(37.70, 40.99, 104.31°)
OKLaboklab(45.94% -0.0322 0.0869)
OKLCHoklch(45.94% 0.093 110.3)
XYZxyz(8.2430, 9.9191, 2.0106)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5C11 #12115C
analogous
#5C3811 #5B5C11 #365C11
triadic
#5B5C11 #115B5C #5C115B
tetradic
#5B5C11 #115C38 #12115C #5C1136
square
#5B5C11 #115C38 #12115C #5C1136
split-complementary
#5B5C11 #11365C #38115C
monochromatic
#1A1A05 #282807 #5B5C11 #8E901B #C1C324

Accessibility & contrast

On white

7.04
#5B5C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5B5C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5C11
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5C11#FFFFFF#000000##FFFFFF
##5B5C111.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645801
Deuteranopia (green-blind)
#655A17
Tritanopia (blue-blind)
#62564E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b5c11;
/* rgb */ color: rgb(91, 92, 17);
/* oklch */ color: oklch(45.9% 0.093 110.3);
Tailwind
colors: {
  custom: {
    50: '#8c8956',
    500: '#5b5c11',
    950: '#000000',
  },
}
SCSS
$custom: #5b5c11;
$custom-light: #8c8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5c11",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 60.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45943,
    "c": 0.09265,
    "h": 110.3
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

primary
#5B5C11
secondary
#353495
accent
#3CEC3E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5C11

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

Preview Lab → · Contrast checker → · Palette generator →

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