#5F5E11#5F5E11

#5F5E11 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#5F5E11
RGBrgb(95, 94, 17)
HSLhsl(59, 70%, 22%)
HSVhsv(59, 82%, 37%)
CMYKcmyk(0%, 1.1%, 82.1%, 62.7%)
CIE-LABlab(38.69, -9.33, 40.76)
CIE-LCHlch(38.69, 41.81, 102.89°)
OKLaboklab(46.83% -0.0302 0.0889)
OKLCHoklch(46.83% 0.094 108.8)
XYZxyz(8.8235, 10.4791, 2.0881)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5E11 #11125F
analogous
#5F3711 #5F5E11 #395F11
triadic
#5F5E11 #115F5E #5E115F
tetradic
#5F5E11 #115F37 #11125F #5F1139
square
#5F5E11 #115F37 #11125F #5F1139
split-complementary
#5F5E11 #11395F #37115F
monochromatic
#1A1A05 #2B2B08 #5F5E11 #93911A #C7C524

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5E11#FFFFFF#000000##FFFFFF
##5F5E111.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)
#685C18
Tritanopia (blue-blind)
#665750
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5f5e11;
/* rgb */ color: rgb(95, 94, 17);
/* oklch */ color: oklch(46.8% 0.094 108.8);
Tailwind
colors: {
  custom: {
    50: '#8f8b57',
    500: '#5f5e11',
    950: '#000000',
  },
}
SCSS
$custom: #5f5e11;
$custom-light: #8f8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5e11",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 59.231,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46826,
    "c": 0.0939,
    "h": 108.8
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#5F5E11
secondary
#343598
accent
#3EEC3B
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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