#5B5914#5B5914

#5B5914 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.087 H 107.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5B5914
RGBrgb(91, 89, 20)
HSLhsl(58, 64%, 22%)
HSVhsv(58, 78%, 36%)
CMYKcmyk(0%, 2.2%, 78%, 64.3%)
CIE-LABlab(36.78, -8.26, 37.73)
CIE-LCHlch(36.78, 38.62, 102.34°)
OKLaboklab(45.22% -0.0267 0.0833)
OKLCHoklch(45.22% 0.087 107.8)
XYZxyz(8.0133, 9.4197, 2.0578)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5914 #14165B
analogous
#5B3614 #5B5914 #3A5B14
triadic
#5B5914 #145B59 #59145B
tetradic
#5B5914 #145B36 #14165B #5B143A
square
#5B5914 #145B36 #14165B #5B143A
split-complementary
#5B5914 #143A5B #36145B
monochromatic
#191906 #292809 #5B5914 #8D8A1F #BFBB2A

Accessibility & contrast

On white

7.28
#5B5914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5B5914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5914
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5914#FFFFFF#000000##FFFFFF
##5B59141.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615507
Deuteranopia (green-blind)
#625819
Tritanopia (blue-blind)
#62534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5b5914;
/* rgb */ color: rgb(91, 89, 20);
/* oklch */ color: oklch(45.2% 0.087 107.8);
Tailwind
colors: {
  custom: {
    50: '#8c8757',
    500: '#5b5914',
    950: '#000000',
  },
}
SCSS
$custom: #5b5914;
$custom-light: #8c8757;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5914",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 58.31,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.08742,
    "h": 107.8
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#5B5914
secondary
#383B93
accent
#46E741
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5914

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

Preview Lab → · Contrast checker → · Palette generator →

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