#5F6614#5F6614

#5F6614 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.8% C 0.101 H 114.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5F6614
RGBrgb(95, 102, 20)
HSLhsl(65, 67%, 24%)
HSVhsv(65, 80%, 40%)
CMYKcmyk(6.9%, 0%, 80.4%, 60%)
CIE-LABlab(41.19, -13.70, 42.00)
CIE-LCHlch(41.19, 44.17, 108.06°)
OKLaboklab(48.84% -0.042 0.0922)
OKLCHoklch(48.84% 0.101 114.5)
XYZxyz(9.5972, 11.9863, 2.4697)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6614 #1B1466
analogous
#664414 #5F6614 #366614
triadic
#5F6614 #145F66 #66145F
tetradic
#5F6614 #146644 #1B1466 #661436
square
#5F6614 #146644 #1B1466 #661436
split-complementary
#5F6614 #143666 #441466
monochromatic
#181A05 #2F330A #5F6614 #8F991E #BECC28

Accessibility & contrast

On white

6.18
#5F6614 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5F6614 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6614
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6614#FFFFFF#000000##FFFFFF
##5F66141.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6102
Deuteranopia (green-blind)
#6E621B
Tritanopia (blue-blind)
#666057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f6614;
/* rgb */ color: rgb(95, 102, 20);
/* oklch */ color: oklch(48.8% 0.101 114.5);
Tailwind
colors: {
  custom: {
    50: '#8f9159',
    500: '#5f6614',
    950: '#000000',
  },
}
SCSS
$custom: #5f6614;
$custom-light: #8f9159;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6614",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 20
  },
  "hsl": {
    "h": 65.122,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48836,
    "c": 0.10129,
    "h": 114.5
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#5F6614
secondary
#41399D
accent
#3EEA4C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6614

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

Preview Lab → · Contrast checker → · Palette generator →

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