#5FA42A#5FA42A

#5FA42A is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.168 H 134.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5FA42A
RGBrgb(95, 164, 42)
HSLhsl(94, 59%, 40%)
HSVhsv(94, 74%, 64%)
CMYKcmyk(42.1%, 0%, 74.4%, 35.7%)
CIE-LABlab(60.91, -42.22, 53.08)
CIE-LCHlch(60.91, 67.82, 128.50°)
OKLaboklab(64.89% -0.1181 0.1191)
OKLCHoklch(64.89% 0.168 134.7)
XYZxyz(18.4123, 29.1500, 6.8464)
Luminance0.2915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA42A #6F2AA4
analogous
#9CA42A #5FA42A #2AA432
triadic
#5FA42A #2A5FA4 #A42A5F
tetradic
#5FA42A #2A9CA4 #6F2AA4 #A4322A
square
#5FA42A #2A9CA4 #6F2AA4 #A4322A
split-complementary
#5FA42A #322AA4 #A42A9C
monochromatic
#274311 #43731E #5FA42A #7CCD3E #9DDA6E

Accessibility & contrast

On white

3.07
#5FA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#5FA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA42A
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA42A#FFFFFF#000000##000000
##5FA42A1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9712
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#5E9E8C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5fa42a;
/* rgb */ color: rgb(95, 164, 42);
/* oklch */ color: oklch(64.9% 0.168 134.7);
Tailwind
colors: {
  custom: {
    50: '#92bf6c',
    500: '#5fa42a',
    950: '#000000',
  },
}
SCSS
$custom: #5fa42a;
$custom-light: #92bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa42a",
  "rgb": {
    "r": 95,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 93.934,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64892,
    "c": 0.16772,
    "h": 134.7
  },
  "luminance": 0.29151
}

Semantic roles & 50–950 ramp

primary
#5FA42A
secondary
#9B69C1
accent
#45E29E
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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