#5F5014#5F5014

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

Color values

HEX#5F5014
RGBrgb(95, 80, 20)
HSLhsl(48, 65%, 23%)
HSVhsv(48, 79%, 37%)
CMYKcmyk(0%, 15.8%, 78.9%, 62.7%)
CIE-LABlab(34.44, -0.92, 35.62)
CIE-LCHlch(34.44, 35.63, 91.49°)
OKLaboklab(43.46% -0.0062 0.0786)
OKLCHoklch(43.46% 0.079 94.5)
XYZxyz(7.7147, 8.2212, 1.8422)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5014 #14235F
analogous
#5F2B14 #5F5014 #485F14
triadic
#5F5014 #145F50 #50145F
tetradic
#5F5014 #145F2B #14235F #5F1448
square
#5F5014 #145F2B #14235F #5F1448
split-complementary
#5F5014 #14485F #2B145F
monochromatic
#191505 #2C2509 #5F5014 #927B1F #C4A529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5014#FFFFFF#000000##FFFFFF
##5F50141.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)
#594E0A
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#674944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5f5014;
/* rgb */ color: rgb(95, 80, 20);
/* oklch */ color: oklch(43.5% 0.079 94.5);
Tailwind
colors: {
  custom: {
    50: '#8f8056',
    500: '#5f5014',
    950: '#000000',
  },
}
SCSS
$custom: #5f5014;
$custom-light: #8f8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5014",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 48,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43455,
    "c": 0.07887,
    "h": 94.5
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#5F5014
secondary
#384B97
accent
#61E840
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5014

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

Preview Lab → · Contrast checker → · Palette generator →

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