#5F5015#5F5015

#5F5015 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.5% C 0.078 H 94.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5F5015
RGBrgb(95, 80, 21)
HSLhsl(48, 64%, 23%)
HSVhsv(48, 78%, 37%)
CMYKcmyk(0%, 15.8%, 77.9%, 62.7%)
CIE-LABlab(34.45, -0.87, 35.19)
CIE-LCHlch(34.45, 35.20, 91.42°)
OKLaboklab(43.46% -0.0059 0.0779)
OKLCHoklch(43.46% 0.078 94.3)
XYZxyz(7.7237, 8.2248, 1.8900)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5015 #15245F
analogous
#5F2B15 #5F5015 #495F15
triadic
#5F5015 #155F50 #50155F
tetradic
#5F5015 #155F2B #15245F #5F1549
square
#5F5015 #155F2B #15245F #5F1549
split-complementary
#5F5015 #15495F #2B155F
monochromatic
#191506 #2D260A #5F5015 #917A20 #C3A42B

Accessibility & contrast

On white

7.94
#5F5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5F5015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5015
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5015#FFFFFF#000000##FFFFFF
##5F50151.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0C
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#674944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5f5015;
/* rgb */ color: rgb(95, 80, 21);
/* oklch */ color: oklch(43.5% 0.078 94.3);
Tailwind
colors: {
  custom: {
    50: '#8f8057',
    500: '#5f5015',
    950: '#000000',
  },
}
SCSS
$custom: #5f5015;
$custom-light: #8f8057;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5015",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 47.838,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.07816,
    "h": 94.3
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#5F5015
secondary
#3A4C96
accent
#63E741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5015

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

Preview Lab → · Contrast checker → · Palette generator →

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