#5F5210#5F5210

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

Color values

HEX#5F5210
RGBrgb(95, 82, 16)
HSLhsl(50, 71%, 22%)
HSVhsv(50, 83%, 37%)
CMYKcmyk(0%, 13.7%, 83.2%, 62.7%)
CIE-LABlab(35.01, -2.32, 37.78)
CIE-LCHlch(35.01, 37.85, 93.52°)
OKLaboklab(43.9% -0.0106 0.0823)
OKLCHoklch(43.9% 0.083 97.4)
XYZxyz(7.8305, 8.5053, 1.7193)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5210 #101D5F
analogous
#5F2B10 #5F5210 #455F10
triadic
#5F5210 #105F52 #52105F
tetradic
#5F5210 #105F2B #101D5F #5F1045
square
#5F5210 #105F2B #101D5F #5F1045
split-complementary
#5F5210 #10455F #2B105F
monochromatic
#1A1704 #2B2507 #5F5210 #937F19 #C8AC22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5210#FFFFFF#000000##FFFFFF
##5F52101.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)
#5B5003
Deuteranopia (green-blind)
#5F5415
Tritanopia (blue-blind)
#674B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f5210;
/* rgb */ color: rgb(95, 82, 16);
/* oklch */ color: oklch(43.9% 0.083 97.4);
Tailwind
colors: {
  custom: {
    50: '#908254',
    500: '#5f5210',
    950: '#000000',
  },
}
SCSS
$custom: #5f5210;
$custom-light: #908254;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5210",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 50.127,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43901,
    "c": 0.083,
    "h": 97.4
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#5F5210
secondary
#334498
accent
#58EE3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5210

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

Preview Lab → · Contrast checker → · Palette generator →

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