#5F5213#5F5213

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

Color values

HEX#5F5213
RGBrgb(95, 82, 19)
HSLhsl(50, 67%, 22%)
HSVhsv(50, 80%, 37%)
CMYKcmyk(0%, 13.7%, 80%, 62.7%)
CIE-LABlab(35.03, -2.18, 36.61)
CIE-LCHlch(35.03, 36.68, 93.41°)
OKLaboklab(43.92% -0.0099 0.0805)
OKLCHoklch(43.92% 0.081 97)
XYZxyz(7.8546, 8.5149, 1.8458)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5213 #13205F
analogous
#5F2C13 #5F5213 #465F13
triadic
#5F5213 #135F52 #52135F
tetradic
#5F5213 #135F2C #13205F #5F1346
square
#5F5213 #135F2C #13205F #5F1346
split-complementary
#5F5213 #13465F #2C135F
monochromatic
#1A1605 #2C2609 #5F5213 #927E1D #C5AA27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5213#FFFFFF#000000##FFFFFF
##5F52131.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)
#5B5008
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#674B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f5213;
/* rgb */ color: rgb(95, 82, 19);
/* oklch */ color: oklch(43.9% 0.081 97.0);
Tailwind
colors: {
  custom: {
    50: '#8f8256',
    500: '#5f5213',
    950: '#000000',
  },
}
SCSS
$custom: #5f5213;
$custom-light: #8f8256;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5213",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 49.737,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.08111,
    "h": 97
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#5F5213
secondary
#374797
accent
#5CEA3E
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5213

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

Preview Lab → · Contrast checker → · Palette generator →

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