#5F6010#5F6010

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

Color values

HEX#5F6010
RGBrgb(95, 96, 16)
HSLhsl(61, 71%, 22%)
HSVhsv(61, 83%, 38%)
CMYKcmyk(1%, 0%, 83.3%, 62.4%)
CIE-LABlab(39.30, -10.51, 41.65)
CIE-LCHlch(39.30, 42.96, 104.17°)
OKLaboklab(47.32% -0.0336 0.0906)
OKLCHoklch(47.32% 0.097 110.3)
XYZxyz(8.9960, 10.8363, 2.1078)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6010 #111060
analogous
#603910 #5F6010 #376010
triadic
#5F6010 #105F60 #60105F
tetradic
#5F6010 #106039 #111060 #601037
square
#5F6010 #106039 #111060 #601037
split-complementary
#5F6010 #103760 #391060
monochromatic
#1A1A04 #2B2C07 #5F6010 #939419 #C7C921

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6010#FFFFFF#000000##FFFFFF
##5F60101.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)
#695E17
Tritanopia (blue-blind)
#665951
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6010;
/* rgb */ color: rgb(95, 96, 16);
/* oklch */ color: oklch(47.3% 0.097 110.3);
Tailwind
colors: {
  custom: {
    50: '#8f8c57',
    500: '#5f6010',
    950: '#000000',
  },
}
SCSS
$custom: #5f6010;
$custom-light: #8f8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6010",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 60.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.09663,
    "h": 110.3
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#5F6010
secondary
#343399
accent
#3AEE3C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F6010

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

Preview Lab → · Contrast checker → · Palette generator →

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