#5F8019#5F8019

#5F8019 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.131 H 126.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F8019
RGBrgb(95, 128, 25)
HSLhsl(79, 67%, 30%)
HSVhsv(79, 80%, 50%)
CMYKcmyk(25.8%, 0%, 80.5%, 49.8%)
CIE-LABlab(49.42, -26.96, 47.92)
CIE-LCHlch(49.42, 54.98, 119.37°)
OKLaboklab(55.49% -0.078 0.1056)
OKLCHoklch(55.49% 0.131 126.5)
XYZxyz(12.6140, 17.9412, 3.7179)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8019 #3A1980
analogous
#806D19 #5F8019 #2C8019
triadic
#5F8019 #195F80 #80195F
tetradic
#5F8019 #19806D #3A1980 #80192C
square
#5F8019 #19806D #3A1980 #80192C
split-complementary
#5F8019 #192C80 #6D1980
monochromatic
#131A05 #394D0F #5F8019 #85B323 #A6D93B

Accessibility & contrast

On white

4.58
#5F8019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5F8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8019
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8019#FFFFFF#000000##000000
##5F80191.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#637A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f8019;
/* rgb */ color: rgb(95, 128, 25);
/* oklch */ color: oklch(55.5% 0.131 126.5);
Tailwind
colors: {
  custom: {
    50: '#90a55f',
    500: '#5f8019',
    950: '#000000',
  },
}
SCSS
$custom: #5f8019;
$custom-light: #90a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8019",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 79.223,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.55488,
    "c": 0.13127,
    "h": 126.5
  },
  "luminance": 0.17941
}

Semantic roles & 50–950 ramp

primary
#5F8019
secondary
#6641B4
accent
#3EEA75
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8019

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

Preview Lab → · Contrast checker → · Palette generator →

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