#5F5219#5F5219

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

Color values

HEX#5F5219
RGBrgb(95, 82, 25)
HSLhsl(49, 58%, 24%)
HSVhsv(49, 74%, 37%)
CMYKcmyk(0%, 13.7%, 73.7%, 62.7%)
CIE-LABlab(35.08, -1.85, 34.00)
CIE-LCHlch(35.08, 34.05, 93.11°)
OKLaboklab(43.97% -0.0082 0.0763)
OKLCHoklch(43.97% 0.077 96.1)
XYZxyz(7.9125, 8.5381, 2.1508)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5219 #19265F
analogous
#5F2F19 #5F5219 #495F19
triadic
#5F5219 #195F52 #52195F
tetradic
#5F5219 #195F2F #19265F #5F1949
square
#5F5219 #195F2F #19265F #5F1949
split-complementary
#5F5219 #19495F #2F195F
monochromatic
#181506 #2F280C #5F5219 #8F7C26 #C0A632

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5219#FFFFFF#000000##FFFFFF
##5F52191.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)
#5B5011
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#674B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f5219;
/* rgb */ color: rgb(95, 82, 25);
/* oklch */ color: oklch(44.0% 0.077 96.1);
Tailwind
colors: {
  custom: {
    50: '#8f8259',
    500: '#5f5219',
    950: '#000000',
  },
}
SCSS
$custom: #5f5219;
$custom-light: #8f8259;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5219",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 48.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43974,
    "c": 0.07669,
    "h": 96.1
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#5F5219
secondary
#3F4F95
accent
#63E246
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5F5219

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

Preview Lab → · Contrast checker → · Palette generator →

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