#5F9619#5F9619

#5F9619 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.2% C 0.159 H 131.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5F9619
RGBrgb(95, 150, 25)
HSLhsl(86, 71%, 34%)
HSVhsv(86, 83%, 59%)
CMYKcmyk(36.7%, 0%, 83.3%, 41.2%)
CIE-LABlab(56.40, -37.15, 54.28)
CIE-LCHlch(56.40, 65.77, 124.39°)
OKLaboklab(61.17% -0.1055 0.119)
OKLCHoklch(61.17% 0.159 131.6)
XYZxyz(15.8010, 24.3151, 4.7803)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9619 #501996
analogous
#968F19 #5F9619 #209619
triadic
#5F9619 #195F96 #96195F
tetradic
#5F9619 #19968F #501996 #961920
square
#5F9619 #19968F #501996 #961920
split-complementary
#5F9619 #192096 #8F1996
monochromatic
#1D2D08 #3E6210 #5F9619 #80CA22 #9EE149

Accessibility & contrast

On white

3.58
#5F9619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5F9619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9619
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9619#FFFFFF#000000##000000
##5F96191.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#618F80
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9619;
/* rgb */ color: rgb(95, 150, 25);
/* oklch */ color: oklch(61.2% 0.159 131.6);
Tailwind
colors: {
  custom: {
    50: '#92b563',
    500: '#5f9619',
    950: '#000000',
  },
}
SCSS
$custom: #5f9619;
$custom-light: #92b563;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9619",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 25
  },
  "hsl": {
    "h": 86.4,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61171,
    "c": 0.15907,
    "h": 131.6
  },
  "luminance": 0.24316
}

Semantic roles & 50–950 ramp

primary
#5F9619
secondary
#7E49C2
accent
#3AEE89
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9619

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

Preview Lab → · Contrast checker → · Palette generator →

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