#5F5E13#5F5E13

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

Color values

HEX#5F5E13
RGBrgb(95, 94, 19)
HSLhsl(59, 67%, 22%)
HSVhsv(59, 80%, 37%)
CMYKcmyk(0%, 1.1%, 80%, 62.7%)
CIE-LABlab(38.70, -9.24, 40.05)
CIE-LCHlch(38.70, 41.10, 102.99°)
OKLaboklab(46.84% -0.0297 0.0878)
OKLCHoklch(46.84% 0.093 108.7)
XYZxyz(8.8399, 10.4856, 2.1742)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5E13 #13145F
analogous
#5F3813 #5F5E13 #3A5F13
triadic
#5F5E13 #135F5E #5E135F
tetradic
#5F5E13 #135F38 #13145F #5F133A
square
#5F5E13 #135F38 #13145F #5F133A
split-complementary
#5F5E13 #133A5F #38135F
monochromatic
#1A1905 #2C2C09 #5F5E13 #92901D #C5C327

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5E13#FFFFFF#000000##FFFFFF
##5F5E131.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)
#665A03
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#665750
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5f5e13;
/* rgb */ color: rgb(95, 94, 19);
/* oklch */ color: oklch(46.8% 0.093 108.7);
Tailwind
colors: {
  custom: {
    50: '#8f8b58',
    500: '#5f5e13',
    950: '#000000',
  },
}
SCSS
$custom: #5f5e13;
$custom-light: #8f8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5e13",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 59.211,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.09272,
    "h": 108.7
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#5F5E13
secondary
#373897
accent
#40EA3E
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5E13

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

Preview Lab → · Contrast checker → · Palette generator →

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