#5F9A1D#5F9A1D

#5F9A1D is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.2% C 0.162 H 132.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5F9A1D
RGBrgb(95, 154, 29)
HSLhsl(88, 68%, 36%)
HSVhsv(88, 81%, 60%)
CMYKcmyk(38.3%, 0%, 81.2%, 39.6%)
CIE-LABlab(57.69, -38.71, 54.30)
CIE-LCHlch(57.69, 66.68, 125.49°)
OKLaboklab(62.23% -0.1095 0.1197)
OKLCHoklch(62.23% 0.162 132.5)
XYZxyz(16.4965, 25.6321, 5.2404)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9A1D #581D9A
analogous
#9A961D #5F9A1D #209A1D
triadic
#5F9A1D #1D5F9A #9A1D5F
tetradic
#5F9A1D #1D9A96 #581D9A #9A1D20
square
#5F9A1D #1D9A96 #581D9A #9A1D20
split-complementary
#5F9A1D #1D209A #961D9A
monochromatic
#1F330A #3F6613 #5F9A1D #7FCE27 #9DDF53

Accessibility & contrast

On white

3.43
#5F9A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5F9A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9A1D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9A1D#FFFFFF#000000##000000
##5F9A1D1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#609383
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f9a1d;
/* rgb */ color: rgb(95, 154, 29);
/* oklch */ color: oklch(62.2% 0.162 132.5);
Tailwind
colors: {
  custom: {
    50: '#92b865',
    500: '#5f9a1d',
    950: '#000000',
  },
}
SCSS
$custom: #5f9a1d;
$custom-light: #92b865;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9a1d",
  "rgb": {
    "r": 95,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 88.32,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62227,
    "c": 0.1622,
    "h": 132.5
  },
  "luminance": 0.25633
}

Semantic roles & 50–950 ramp

primary
#5F9A1D
secondary
#8651C2
accent
#3DEB8F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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