#5F6019#5F6019

#5F6019 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.4% C 0.091 H 110.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5F6019
RGBrgb(95, 96, 25)
HSLhsl(61, 59%, 24%)
HSVhsv(61, 74%, 38%)
CMYKcmyk(1%, 0%, 74%, 62.4%)
CIE-LABlab(39.36, -10.06, 38.31)
CIE-LCHlch(39.36, 39.61, 104.72°)
OKLaboklab(47.38% -0.0314 0.0853)
OKLCHoklch(47.38% 0.091 110.2)
XYZxyz(9.0780, 10.8691, 2.5393)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6019 #1A1960
analogous
#603D19 #5F6019 #3B6019
triadic
#5F6019 #195F60 #60195F
tetradic
#5F6019 #19603D #1A1960 #60193B
square
#5F6019 #19603D #1A1960 #60193B
split-complementary
#5F6019 #193B60 #3D1960
monochromatic
#181806 #2F2F0C #5F6019 #8F9126 #BFC132

Accessibility & contrast

On white

6.62
#5F6019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F6019
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6019#FFFFFF#000000##FFFFFF
##5F60191.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0D
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#665A52
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6019;
/* rgb */ color: rgb(95, 96, 25);
/* oklch */ color: oklch(47.4% 0.091 110.2);
Tailwind
colors: {
  custom: {
    50: '#8f8d5b',
    500: '#5f6019',
    950: '#000000',
  },
}
SCSS
$custom: #5f6019;
$custom-light: #8f8d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6019",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 25
  },
  "hsl": {
    "h": 60.845,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47377,
    "c": 0.09093,
    "h": 110.2
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#5F6019
secondary
#403F96
accent
#46E248
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6019

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

Preview Lab → · Contrast checker → · Palette generator →

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