#5FA12A#5FA12A

#5FA12A is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.164 H 134.4°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5FA12A
RGBrgb(95, 161, 42)
HSLhsl(93, 59%, 40%)
HSVhsv(93, 74%, 63%)
CMYKcmyk(41%, 0%, 73.9%, 36.9%)
CIE-LABlab(59.97, -40.95, 52.14)
CIE-LCHlch(59.97, 66.30, 128.14°)
OKLaboklab(64.12% -0.1146 0.1172)
OKLCHoklch(64.12% 0.164 134.4)
XYZxyz(17.8818, 28.0889, 6.6695)
Luminance0.2809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA12A #6C2AA1
analogous
#9BA12A #5FA12A #2AA130
triadic
#5FA12A #2A5FA1 #A12A5F
tetradic
#5FA12A #2A9BA1 #6C2AA1 #A1302A
square
#5FA12A #2A9BA1 #6C2AA1 #A1302A
split-complementary
#5FA12A #302AA1 #A12A9B
monochromatic
#264011 #42701D #5FA12A #7CCC3C #9DD96D

Accessibility & contrast

On white

3.17
#5FA12A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5FA12A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA12A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA12A#FFFFFF#000000##000000
##5FA12A1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79414
Deuteranopia (green-blind)
#9E8F36
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa12a;
/* rgb */ color: rgb(95, 161, 42);
/* oklch */ color: oklch(64.1% 0.164 134.4);
Tailwind
colors: {
  custom: {
    50: '#92bd6c',
    500: '#5fa12a',
    950: '#000000',
  },
}
SCSS
$custom: #5fa12a;
$custom-light: #92bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa12a",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 93.277,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64118,
    "c": 0.16392,
    "h": 134.4
  },
  "luminance": 0.2809
}

Semantic roles & 50–950 ramp

primary
#5FA12A
secondary
#9867C0
accent
#46E29C
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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