#5F6514#5F6514

#5F6514 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.100 H 113.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5F6514
RGBrgb(95, 101, 20)
HSLhsl(64, 67%, 24%)
HSVhsv(64, 80%, 40%)
CMYKcmyk(5.9%, 0%, 80.2%, 60.4%)
CIE-LABlab(40.88, -13.14, 41.71)
CIE-LCHlch(40.88, 43.73, 107.49°)
OKLaboklab(48.59% -0.0405 0.0915)
OKLCHoklch(48.59% 0.1 113.9)
XYZxyz(9.4996, 11.7910, 2.4371)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6514 #1A1465
analogous
#654214 #5F6514 #366514
triadic
#5F6514 #145F65 #65145F
tetradic
#5F6514 #146542 #1A1465 #651436
square
#5F6514 #146542 #1A1465 #651436
split-complementary
#5F6514 #143665 #421465
monochromatic
#181A05 #2F320A #5F6514 #8F981E #BFCB28

Accessibility & contrast

On white

6.25
#5F6514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5F6514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6514
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6514#FFFFFF#000000##FFFFFF
##5F65141.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6002
Deuteranopia (green-blind)
#6D611B
Tritanopia (blue-blind)
#665F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6514;
/* rgb */ color: rgb(95, 101, 20);
/* oklch */ color: oklch(48.6% 0.100 113.9);
Tailwind
colors: {
  custom: {
    50: '#8f9059',
    500: '#5f6514',
    950: '#000000',
  },
}
SCSS
$custom: #5f6514;
$custom-light: #8f9059;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6514",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 64.444,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.10011,
    "h": 113.9
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#5F6514
secondary
#40399C
accent
#3EEA4B
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6514

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

Preview Lab → · Contrast checker → · Palette generator →

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