#5B5E13#5B5E13

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

Color values

HEX#5B5E13
RGBrgb(91, 94, 19)
HSLhsl(62, 66%, 22%)
HSVhsv(62, 80%, 37%)
CMYKcmyk(3.2%, 0%, 79.8%, 63.1%)
CIE-LABlab(38.33, -11.18, 39.58)
CIE-LCHlch(38.33, 41.13, 105.77°)
OKLaboklab(46.46% -0.0349 0.087)
OKLCHoklch(46.46% 0.094 111.9)
XYZxyz(8.4349, 10.2768, 2.1553)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5E13 #16135E
analogous
#5E3C13 #5B5E13 #365E13
triadic
#5B5E13 #135B5E #5E135B
tetradic
#5B5E13 #135E3C #16135E #5E1336
square
#5B5E13 #135E3C #16135E #5E1336
split-complementary
#5B5E13 #13365E #3C135E
monochromatic
#191905 #2A2B09 #5B5E13 #8C911D #BEC428

Accessibility & contrast

On white

6.87
#5B5E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5B5E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5E13
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5E13#FFFFFF#000000##FFFFFF
##5B5E131.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b5e13;
/* rgb */ color: rgb(91, 94, 19);
/* oklch */ color: oklch(46.5% 0.094 111.9);
Tailwind
colors: {
  custom: {
    50: '#8c8b58',
    500: '#5b5e13',
    950: '#000000',
  },
}
SCSS
$custom: #5b5e13;
$custom-light: #8c8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5e13",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 62.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.09373,
    "h": 111.9
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#5B5E13
secondary
#3B3796
accent
#3FE945
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B5E13

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

Preview Lab → · Contrast checker → · Palette generator →

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