#5F6014#5F6014

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

Color values

HEX#5F6014
RGBrgb(95, 96, 20)
HSLhsl(61, 66%, 23%)
HSVhsv(61, 79%, 38%)
CMYKcmyk(1%, 0%, 79.2%, 62.4%)
CIE-LABlab(39.33, -10.33, 40.26)
CIE-LCHlch(39.33, 41.57, 104.39°)
OKLaboklab(47.34% -0.0327 0.0885)
OKLCHoklch(47.34% 0.094 110.3)
XYZxyz(9.0288, 10.8494, 2.2802)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6014 #151460
analogous
#603B14 #5F6014 #396014
triadic
#5F6014 #145F60 #60145F
tetradic
#5F6014 #14603B #151460 #601439
square
#5F6014 #14603B #151460 #601439
split-complementary
#5F6014 #143960 #3B1460
monochromatic
#191905 #2D2D09 #5F6014 #91931F #C3C529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6014#FFFFFF#000000##FFFFFF
##5F60141.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)
#685B04
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#665952
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6014;
/* rgb */ color: rgb(95, 96, 20);
/* oklch */ color: oklch(47.3% 0.094 110.3);
Tailwind
colors: {
  custom: {
    50: '#8f8c58',
    500: '#5f6014',
    950: '#000000',
  },
}
SCSS
$custom: #5f6014;
$custom-light: #8f8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6014",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 60.789,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4734,
    "c": 0.09432,
    "h": 110.3
  },
  "luminance": 0.10849
}

Semantic roles & 50–950 ramp

primary
#5F6014
secondary
#3A3898
accent
#3FE842
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6014

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

Preview Lab → · Contrast checker → · Palette generator →

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