#5F5E10#5F5E10

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

Color values

HEX#5F5E10
RGBrgb(95, 94, 16)
HSLhsl(59, 71%, 22%)
HSVhsv(59, 83%, 37%)
CMYKcmyk(0%, 1.1%, 83.2%, 62.7%)
CIE-LABlab(38.68, -9.37, 41.09)
CIE-LCHlch(38.68, 42.15, 102.85°)
OKLaboklab(46.82% -0.0304 0.0894)
OKLCHoklch(46.82% 0.094 108.8)
XYZxyz(8.8159, 10.4760, 2.0478)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5E10 #10115F
analogous
#5F3710 #5F5E10 #395F10
triadic
#5F5E10 #105F5E #5E105F
tetradic
#5F5E10 #105F37 #10115F #5F1039
square
#5F5E10 #105F37 #10115F #5F1039
split-complementary
#5F5E10 #10395F #37105F
monochromatic
#1A1A04 #2B2A07 #5F5E10 #939219 #C8C622

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5E10#FFFFFF#000000##FFFFFF
##5F5E101.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)
#665A00
Deuteranopia (green-blind)
#685C17
Tritanopia (blue-blind)
#665750
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5f5e10;
/* rgb */ color: rgb(95, 94, 16);
/* oklch */ color: oklch(46.8% 0.094 108.8);
Tailwind
colors: {
  custom: {
    50: '#8f8b56',
    500: '#5f5e10',
    950: '#000000',
  },
}
SCSS
$custom: #5f5e10;
$custom-light: #8f8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5e10",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 59.241,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4682,
    "c": 0.09445,
    "h": 108.8
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#5F5E10
secondary
#333498
accent
#3CEE3A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5E10

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

Preview Lab → · Contrast checker → · Palette generator →

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