#5F5E14#5F5E14

#5F5E14 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.8% C 0.092 H 108.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5F5E14
RGBrgb(95, 94, 20)
HSLhsl(59, 65%, 23%)
HSVhsv(59, 79%, 37%)
CMYKcmyk(0%, 1.1%, 78.9%, 62.7%)
CIE-LABlab(38.71, -9.19, 39.68)
CIE-LCHlch(38.71, 40.73, 103.04°)
OKLaboklab(46.85% -0.0295 0.0872)
OKLCHoklch(46.85% 0.092 108.7)
XYZxyz(8.8486, 10.4891, 2.2202)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5E14 #14155F
analogous
#5F3814 #5F5E14 #3A5F14
triadic
#5F5E14 #145F5E #5E145F
tetradic
#5F5E14 #145F38 #14155F #5F143A
square
#5F5E14 #145F38 #14155F #5F143A
split-complementary
#5F5E14 #143A5F #38145F
monochromatic
#191905 #2C2C09 #5F5E14 #92901F #C4C229

Accessibility & contrast

On white

6.78
#5F5E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5F5E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5E14
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5E14#FFFFFF#000000##FFFFFF
##5F5E141.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A05
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#665750
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5f5e14;
/* rgb */ color: rgb(95, 94, 20);
/* oklch */ color: oklch(46.8% 0.092 108.7);
Tailwind
colors: {
  custom: {
    50: '#8f8b58',
    500: '#5f5e14',
    950: '#000000',
  },
}
SCSS
$custom: #5f5e14;
$custom-light: #8f8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5e14",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 59.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46845,
    "c": 0.0921,
    "h": 108.7
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#5F5E14
secondary
#383997
accent
#42E840
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F5E14

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

Preview Lab → · Contrast checker → · Palette generator →

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