#5F6011#5F6011

#5F6011 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.3% C 0.096 H 110.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5F6011
RGBrgb(95, 96, 17)
HSLhsl(61, 70%, 22%)
HSVhsv(61, 82%, 38%)
CMYKcmyk(1%, 0%, 82.3%, 62.4%)
CIE-LABlab(39.31, -10.47, 41.32)
CIE-LCHlch(39.31, 42.62, 104.22°)
OKLaboklab(47.32% -0.0334 0.0901)
OKLCHoklch(47.32% 0.096 110.3)
XYZxyz(9.0037, 10.8394, 2.1481)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6011 #121160
analogous
#603911 #5F6011 #386011
triadic
#5F6011 #115F60 #60115F
tetradic
#5F6011 #116039 #121160 #601138
square
#5F6011 #116039 #121160 #601138
split-complementary
#5F6011 #113860 #391160
monochromatic
#1A1A05 #2C2C08 #5F6011 #92941A #C6C823

Accessibility & contrast

On white

6.63
#5F6011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5F6011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6011
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6011#FFFFFF#000000##FFFFFF
##5F60111.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#695E18
Tritanopia (blue-blind)
#665951
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6011;
/* rgb */ color: rgb(95, 96, 17);
/* oklch */ color: oklch(47.3% 0.096 110.3);
Tailwind
colors: {
  custom: {
    50: '#8f8c57',
    500: '#5f6011',
    950: '#000000',
  },
}
SCSS
$custom: #5f6011;
$custom-light: #8f8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6011",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 60.759,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.09608,
    "h": 110.3
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#5F6011
secondary
#363499
accent
#3BED3D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F6011

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

Preview Lab → · Contrast checker → · Palette generator →

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