#5F8319#5F8319

#5F8319 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.135 H 127.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5F8319
RGBrgb(95, 131, 25)
HSLhsl(80, 68%, 31%)
HSVhsv(80, 81%, 51%)
CMYKcmyk(27.5%, 0%, 80.9%, 48.6%)
CIE-LABlab(50.38, -28.42, 48.80)
CIE-LCHlch(50.38, 56.47, 120.21°)
OKLaboklab(56.26% -0.0819 0.1074)
OKLCHoklch(56.26% 0.135 127.3)
XYZxyz(13.0111, 18.7354, 3.8503)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8319 #3D1983
analogous
#837219 #5F8319 #2A8319
triadic
#5F8319 #195F83 #83195F
tetradic
#5F8319 #198372 #3D1983 #83192A
square
#5F8319 #198372 #3D1983 #83192A
split-complementary
#5F8319 #192A83 #721983
monochromatic
#141C05 #3A500F #5F8319 #84B623 #A4DA3D

Accessibility & contrast

On white

4.42
#5F8319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5F8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8319
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8319#FFFFFF#000000##000000
##5F83191.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#637D6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f8319;
/* rgb */ color: rgb(95, 131, 25);
/* oklch */ color: oklch(56.3% 0.135 127.3);
Tailwind
colors: {
  custom: {
    50: '#90a760',
    500: '#5f8319',
    950: '#000000',
  },
}
SCSS
$custom: #5f8319;
$custom-light: #90a760;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8319",
  "rgb": {
    "r": 95,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 80.377,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56261,
    "c": 0.13513,
    "h": 127.3
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#5F8319
secondary
#6941B7
accent
#3DEB78
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8319

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

Preview Lab → · Contrast checker → · Palette generator →

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