#5F5115#5F5115

#5F5115 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.079 H 95.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5F5115
RGBrgb(95, 81, 21)
HSLhsl(49, 64%, 23%)
HSVhsv(49, 78%, 37%)
CMYKcmyk(0%, 14.7%, 77.9%, 62.7%)
CIE-LABlab(34.75, -1.48, 35.49)
CIE-LCHlch(34.75, 35.52, 92.38°)
OKLaboklab(43.7% -0.0076 0.0786)
OKLCHoklch(43.7% 0.079 95.5)
XYZxyz(7.7975, 8.3723, 1.9146)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5115 #15235F
analogous
#5F2C15 #5F5115 #485F15
triadic
#5F5115 #155F51 #51155F
tetradic
#5F5115 #155F2C #15235F #5F1548
square
#5F5115 #155F2C #15235F #5F1548
split-complementary
#5F5115 #15485F #2C155F
monochromatic
#191506 #2D260A #5F5115 #917C20 #C3A62B

Accessibility & contrast

On white

7.85
#5F5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5F5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5115
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5115#FFFFFF#000000##FFFFFF
##5F51151.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#674A45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f5115;
/* rgb */ color: rgb(95, 81, 21);
/* oklch */ color: oklch(43.7% 0.079 95.5);
Tailwind
colors: {
  custom: {
    50: '#8f8157',
    500: '#5f5115',
    950: '#000000',
  },
}
SCSS
$custom: #5f5115;
$custom-light: #8f8157;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5115",
  "rgb": {
    "r": 95,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 48.649,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.437,
    "c": 0.07893,
    "h": 95.5
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#5F5115
secondary
#3A4B96
accent
#60E741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5115

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

Preview Lab → · Contrast checker → · Palette generator →

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