#5F5214#5F5214

#5F5214 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.9% C 0.080 H 96.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5F5214
RGBrgb(95, 82, 20)
HSLhsl(50, 65%, 23%)
HSVhsv(50, 79%, 37%)
CMYKcmyk(0%, 13.7%, 78.9%, 62.7%)
CIE-LABlab(35.04, -2.13, 36.20)
CIE-LCHlch(35.04, 36.26, 93.37°)
OKLaboklab(43.93% -0.0096 0.0799)
OKLCHoklch(43.93% 0.08 96.9)
XYZxyz(7.8633, 8.5184, 1.8917)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5214 #14215F
analogous
#5F2D14 #5F5214 #465F14
triadic
#5F5214 #145F52 #52145F
tetradic
#5F5214 #145F2D #14215F #5F1446
square
#5F5214 #145F2D #14215F #5F1446
split-complementary
#5F5214 #14465F #2D145F
monochromatic
#191605 #2C2609 #5F5214 #927E1F #C4A929

Accessibility & contrast

On white

7.77
#5F5214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5F5214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5214
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5214#FFFFFF#000000##FFFFFF
##5F52141.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5009
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#674B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f5214;
/* rgb */ color: rgb(95, 82, 20);
/* oklch */ color: oklch(43.9% 0.080 96.9);
Tailwind
colors: {
  custom: {
    50: '#8f8257',
    500: '#5f5214',
    950: '#000000',
  },
}
SCSS
$custom: #5f5214;
$custom-light: #8f8257;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5214",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 49.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.08044,
    "h": 96.9
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#5F5214
secondary
#384997
accent
#5DE840
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5214

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

Preview Lab → · Contrast checker → · Palette generator →

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