#5F5216#5F5216

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

Color values

HEX#5F5216
RGBrgb(95, 82, 22)
HSLhsl(49, 62%, 23%)
HSVhsv(49, 77%, 37%)
CMYKcmyk(0%, 13.7%, 76.8%, 62.7%)
CIE-LABlab(35.05, -2.03, 35.35)
CIE-LCHlch(35.05, 35.41, 93.28°)
OKLaboklab(43.95% -0.0091 0.0785)
OKLCHoklch(43.95% 0.079 96.6)
XYZxyz(7.8818, 8.5258, 1.9894)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5216 #16235F
analogous
#5F2D16 #5F5216 #475F16
triadic
#5F5216 #165F52 #52165F
tetradic
#5F5216 #165F2D #16235F #5F1647
square
#5F5216 #165F2D #16235F #5F1647
split-complementary
#5F5216 #16475F #2D165F
monochromatic
#191506 #2D270A #5F5216 #917D22 #C2A82D

Accessibility & contrast

On white

7.76
#5F5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5F5216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5216
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5216#FFFFFF#000000##FFFFFF
##5F52161.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f5216;
/* rgb */ color: rgb(95, 82, 22);
/* oklch */ color: oklch(43.9% 0.079 96.6);
Tailwind
colors: {
  custom: {
    50: '#8f8258',
    500: '#5f5216',
    950: '#000000',
  },
}
SCSS
$custom: #5f5216;
$custom-light: #8f8258;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5216",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 49.315,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.079,
    "h": 96.6
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#5F5216
secondary
#3B4B96
accent
#5FE542
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5216

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

Preview Lab → · Contrast checker → · Palette generator →

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