#5F8619#5F8619

#5F8619 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.0% C 0.139 H 128.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5F8619
RGBrgb(95, 134, 25)
HSLhsl(81, 69%, 31%)
HSVhsv(81, 81%, 53%)
CMYKcmyk(29.1%, 0%, 81.3%, 47.5%)
CIE-LABlab(51.33, -29.85, 49.67)
CIE-LCHlch(51.33, 57.95, 121.00°)
OKLaboklab(57.04% -0.0858 0.1093)
OKLCHoklch(57.04% 0.139 128.1)
XYZxyz(13.4199, 19.5529, 3.9866)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8619 #401986
analogous
#867619 #5F8619 #288619
triadic
#5F8619 #195F86 #86195F
tetradic
#5F8619 #198676 #401986 #861928
square
#5F8619 #198676 #401986 #861928
split-complementary
#5F8619 #192886 #761986
monochromatic
#161F06 #3A520F #5F8619 #84BA23 #A3DB3E

Accessibility & contrast

On white

4.28
#5F8619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5F8619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8619
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8619#FFFFFF#000000##000000
##5F86191.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#887925
Tritanopia (blue-blind)
#638072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f8619;
/* rgb */ color: rgb(95, 134, 25);
/* oklch */ color: oklch(57.0% 0.139 128.1);
Tailwind
colors: {
  custom: {
    50: '#90a960',
    500: '#5f8619',
    950: '#000000',
  },
}
SCSS
$custom: #5f8619;
$custom-light: #90a960;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8619",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 81.468,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.13896,
    "h": 128.1
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#5F8619
secondary
#6C41BA
accent
#3CEB7B
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5F8619

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

Preview Lab → · Contrast checker → · Palette generator →

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