#5F5211#5F5211

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

Color values

HEX#5F5211
RGBrgb(95, 82, 17)
HSLhsl(50, 70%, 22%)
HSVhsv(50, 82%, 37%)
CMYKcmyk(0%, 13.7%, 82.1%, 62.7%)
CIE-LABlab(35.02, -2.28, 37.40)
CIE-LCHlch(35.02, 37.47, 93.49°)
OKLaboklab(43.91% -0.0104 0.0817)
OKLCHoklch(43.91% 0.082 97.2)
XYZxyz(7.8382, 8.5084, 1.7596)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5211 #111E5F
analogous
#5F2B11 #5F5211 #455F11
triadic
#5F5211 #115F52 #52115F
tetradic
#5F5211 #115F2B #111E5F #5F1145
square
#5F5211 #115F2B #111E5F #5F1145
split-complementary
#5F5211 #11455F #2B115F
monochromatic
#1A1605 #2B2508 #5F5211 #937F1A #C7AC24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5f5211;
/* rgb */ color: rgb(95, 82, 17);
/* oklch */ color: oklch(43.9% 0.082 97.2);
Tailwind
colors: {
  custom: {
    50: '#908255',
    500: '#5f5211',
    950: '#000000',
  },
}
SCSS
$custom: #5f5211;
$custom-light: #908255;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5211",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 50,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43908,
    "c": 0.0824,
    "h": 97.2
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#5F5211
secondary
#344598
accent
#59EC3B
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5211

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

Preview Lab → · Contrast checker → · Palette generator →

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