#5B5C19#5B5C19

#5B5C19 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 46.0% C 0.087 H 110.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5B5C19
RGBrgb(91, 92, 25)
HSLhsl(61, 57%, 23%)
HSVhsv(61, 73%, 36%)
CMYKcmyk(1.1%, 0%, 72.8%, 63.9%)
CIE-LABlab(37.75, -9.70, 36.58)
CIE-LCHlch(37.75, 37.85, 104.85°)
OKLaboklab(46% -0.0301 0.0818)
OKLCHoklch(46% 0.087 110.2)
XYZxyz(8.3173, 9.9489, 2.4017)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5C19 #1A195C
analogous
#5C3C19 #5B5C19 #395C19
triadic
#5B5C19 #195B5C #5C195B
tetradic
#5B5C19 #195C3C #1A195C #5C1939
square
#5B5C19 #195C3C #1A195C #5C1939
split-complementary
#5B5C19 #19395C #3C195C
monochromatic
#181807 #2B2C0C #5B5C19 #8B8C26 #BABC33

Accessibility & contrast

On white

7.02
#5B5C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5B5C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5C19
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5C19#FFFFFF#000000##FFFFFF
##5B5C191.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580F
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#62564F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b5c19;
/* rgb */ color: rgb(91, 92, 25);
/* oklch */ color: oklch(46.0% 0.087 110.2);
Tailwind
colors: {
  custom: {
    50: '#8c8a5a',
    500: '#5b5c19',
    950: '#000000',
  },
}
SCSS
$custom: #5b5c19;
$custom-light: #8c8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5c19",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 25
  },
  "hsl": {
    "h": 60.896,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46003,
    "c": 0.08722,
    "h": 110.2
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#5B5C19
secondary
#403F92
accent
#47E14A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B5C19

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

Preview Lab → · Contrast checker → · Palette generator →

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