#5F5914#5F5914

#5F5914 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.6% C 0.087 H 104.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5F5914
RGBrgb(95, 89, 20)
HSLhsl(55, 65%, 23%)
HSVhsv(55, 79%, 37%)
CMYKcmyk(0%, 6.3%, 78.9%, 62.7%)
CIE-LABlab(37.17, -6.29, 38.23)
CIE-LCHlch(37.17, 38.75, 99.35°)
OKLaboklab(45.62% -0.0214 0.0842)
OKLCHoklch(45.62% 0.087 104.3)
XYZxyz(8.4183, 9.6285, 2.0767)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5914 #141A5F
analogous
#5F3314 #5F5914 #3F5F14
triadic
#5F5914 #145F59 #59145F
tetradic
#5F5914 #145F33 #141A5F #5F143F
square
#5F5914 #145F33 #141A5F #5F143F
split-complementary
#5F5914 #143F5F #33145F
monochromatic
#191805 #2C2A09 #5F5914 #92881F #C4B829

Accessibility & contrast

On white

7.18
#5F5914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5F5914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5914
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5914#FFFFFF#000000##FFFFFF
##5F59141.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625607
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#67524C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f5914;
/* rgb */ color: rgb(95, 89, 20);
/* oklch */ color: oklch(45.6% 0.087 104.3);
Tailwind
colors: {
  custom: {
    50: '#8f8757',
    500: '#5f5914',
    950: '#000000',
  },
}
SCSS
$custom: #5f5914;
$custom-light: #8f8757;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5914",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 55.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.08683,
    "h": 104.3
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#5F5914
secondary
#384097
accent
#4DE840
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5914

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

Preview Lab → · Contrast checker → · Palette generator →

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