#5F5C11#5F5C11

#5F5C11 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.3% C 0.092 H 107.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5F5C11
RGBrgb(95, 92, 17)
HSLhsl(58, 70%, 22%)
HSVhsv(58, 82%, 37%)
CMYKcmyk(0%, 3.2%, 82.1%, 62.7%)
CIE-LABlab(38.07, -8.18, 40.20)
CIE-LCHlch(38.07, 41.02, 101.50°)
OKLaboklab(46.33% -0.027 0.0877)
OKLCHoklch(46.33% 0.092 107.1)
XYZxyz(8.6480, 10.1280, 2.0296)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5C11 #11145F
analogous
#5F3511 #5F5C11 #3B5F11
triadic
#5F5C11 #115F5C #5C115F
tetradic
#5F5C11 #115F35 #11145F #5F113B
square
#5F5C11 #115F35 #11145F #5F113B
split-complementary
#5F5C11 #113B5F #35115F
monochromatic
#1A1905 #2B2A08 #5F5C11 #938E1A #C7C124

Accessibility & contrast

On white

6.94
#5F5C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5F5C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5C11
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5C11#FFFFFF#000000##FFFFFF
##5F5C111.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655801
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#67554E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5c11;
/* rgb */ color: rgb(95, 92, 17);
/* oklch */ color: oklch(46.3% 0.092 107.1);
Tailwind
colors: {
  custom: {
    50: '#8f8956',
    500: '#5f5c11',
    950: '#000000',
  },
}
SCSS
$custom: #5f5c11;
$custom-light: #8f8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5c11",
  "rgb": {
    "r": 95,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 57.692,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.09177,
    "h": 107.1
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#5F5C11
secondary
#343898
accent
#42EC3B
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5C11

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

Preview Lab → · Contrast checker → · Palette generator →

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