#5B5A13#5B5A13

#5B5A13 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.089 H 108.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5B5A13
RGBrgb(91, 90, 19)
HSLhsl(59, 65%, 22%)
HSVhsv(59, 79%, 36%)
CMYKcmyk(0%, 1.1%, 79.1%, 64.3%)
CIE-LABlab(37.08, -8.89, 38.41)
CIE-LCHlch(37.08, 39.42, 103.03°)
OKLaboklab(45.46% -0.0285 0.0845)
OKLCHoklch(45.46% 0.089 108.7)
XYZxyz(8.0884, 9.5838, 2.0398)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5A13 #13145B
analogous
#5B3613 #5B5A13 #385B13
triadic
#5B5A13 #135B5A #5A135B
tetradic
#5B5A13 #135B36 #13145B #5B1338
square
#5B5A13 #135B36 #13145B #5B1338
split-complementary
#5B5A13 #13385B #36135B
monochromatic
#191905 #282808 #5B5A13 #8E8C1E #C0BE28

Accessibility & contrast

On white

7.20
#5B5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5B5A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5A13
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5A13#FFFFFF#000000##FFFFFF
##5B5A131.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625605
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#62544C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5b5a13;
/* rgb */ color: rgb(91, 90, 19);
/* oklch */ color: oklch(45.5% 0.089 108.7);
Tailwind
colors: {
  custom: {
    50: '#8c8857',
    500: '#5b5a13',
    950: '#000000',
  },
}
SCSS
$custom: #5b5a13;
$custom-light: #8c8857;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5a13",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 59.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.08919,
    "h": 108.7
  },
  "luminance": 0.09583
}

Semantic roles & 50–950 ramp

primary
#5B5A13
secondary
#373893
accent
#42E83F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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