#5F5019#5F5019

#5F5019 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.5% C 0.075 H 93.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5F5019
RGBrgb(95, 80, 25)
HSLhsl(47, 58%, 24%)
HSVhsv(47, 74%, 37%)
CMYKcmyk(0%, 15.8%, 73.7%, 62.7%)
CIE-LABlab(34.48, -0.64, 33.39)
CIE-LCHlch(34.48, 33.39, 91.10°)
OKLaboklab(43.5% -0.0047 0.075)
OKLCHoklch(43.5% 0.075 93.6)
XYZxyz(7.7638, 8.2408, 2.1012)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5019 #19285F
analogous
#5F2D19 #5F5019 #4B5F19
triadic
#5F5019 #195F50 #50195F
tetradic
#5F5019 #195F2D #19285F #5F194B
square
#5F5019 #195F2D #19285F #5F194B
split-complementary
#5F5019 #194B5F #2D195F
monochromatic
#181406 #2F270C #5F5019 #8F7926 #C0A232

Accessibility & contrast

On white

7.93
#5F5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5F5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5019
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5019#FFFFFF#000000##FFFFFF
##5F50191.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E12
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#674945
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5f5019;
/* rgb */ color: rgb(95, 80, 25);
/* oklch */ color: oklch(43.5% 0.075 93.6);
Tailwind
colors: {
  custom: {
    50: '#8f8059',
    500: '#5f5019',
    950: '#000000',
  },
}
SCSS
$custom: #5f5019;
$custom-light: #8f8059;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5019",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 47.143,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43499,
    "c": 0.0751,
    "h": 93.6
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#5F5019
secondary
#3F5195
accent
#68E246
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5F5019

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

Preview Lab → · Contrast checker → · Palette generator →

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