#5F5F14#5F5F14

#5F5F14 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.1% C 0.093 H 109.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5F5F14
RGBrgb(95, 95, 20)
HSLhsl(60, 65%, 23%)
HSVhsv(60, 79%, 37%)
CMYKcmyk(0%, 0%, 78.9%, 62.7%)
CIE-LABlab(39.02, -9.76, 39.97)
CIE-LCHlch(39.02, 41.15, 103.73°)
OKLaboklab(47.09% -0.0311 0.0879)
OKLCHoklch(47.09% 0.093 109.5)
XYZxyz(8.9381, 10.6681, 2.2500)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5F14 #14145F
analogous
#5F3914 #5F5F14 #395F14
triadic
#5F5F14 #145F5F #5F145F
tetradic
#5F5F14 #145F39 #14145F #5F1439
square
#5F5F14 #145F39 #14145F #5F1439
split-complementary
#5F5F14 #14395F #39145F
monochromatic
#191905 #2C2C09 #5F5F14 #92921F #C4C429

Accessibility & contrast

On white

6.70
#5F5F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5F5F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5F14
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5F14#FFFFFF#000000##FFFFFF
##5F5F141.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B05
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#665851
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5f5f14;
/* rgb */ color: rgb(95, 95, 20);
/* oklch */ color: oklch(47.1% 0.093 109.5);
Tailwind
colors: {
  custom: {
    50: '#8f8c58',
    500: '#5f5f14',
    950: '#000000',
  },
}
SCSS
$custom: #5f5f14;
$custom-light: #8f8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5f14",
  "rgb": {
    "r": 95,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47092,
    "c": 0.09321,
    "h": 109.5
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#5F5F14
secondary
#383897
accent
#40E840
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F5F14

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

Preview Lab → · Contrast checker → · Palette generator →

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