#5F5E16#5F5E16

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

Color values

HEX#5F5E16
RGBrgb(95, 94, 22)
HSLhsl(59, 62%, 23%)
HSVhsv(59, 77%, 37%)
CMYKcmyk(0%, 1.1%, 76.8%, 62.7%)
CIE-LABlab(38.72, -9.09, 38.91)
CIE-LCHlch(38.72, 39.96, 103.15°)
OKLaboklab(46.86% -0.029 0.086)
OKLCHoklch(46.86% 0.091 108.6)
XYZxyz(8.8672, 10.4965, 2.3178)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5E16 #16175F
analogous
#5F3916 #5F5E16 #3B5F16
triadic
#5F5E16 #165F5E #5E165F
tetradic
#5F5E16 #165F39 #16175F #5F163B
square
#5F5E16 #165F39 #16175F #5F163B
split-complementary
#5F5E16 #163B5F #39165F
monochromatic
#191906 #2D2D0A #5F5E16 #918F22 #C2C02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5E16#FFFFFF#000000##FFFFFF
##5F5E161.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)
#665A09
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#665750
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5f5e16;
/* rgb */ color: rgb(95, 94, 22);
/* oklch */ color: oklch(46.9% 0.091 108.6);
Tailwind
colors: {
  custom: {
    50: '#8f8b59',
    500: '#5f5e16',
    950: '#000000',
  },
}
SCSS
$custom: #5f5e16;
$custom-light: #8f8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5e16",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 59.178,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4686,
    "c": 0.09078,
    "h": 108.6
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#5F5E16
secondary
#3B3C96
accent
#45E542
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F5E16

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

Preview Lab → · Contrast checker → · Palette generator →

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