#5FB42A#5FB42A

#5FB42A is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.0% C 0.187 H 136.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5FB42A
RGBrgb(95, 180, 42)
HSLhsl(97, 62%, 44%)
HSVhsv(97, 77%, 71%)
CMYKcmyk(47.2%, 0%, 76.7%, 29.4%)
CIE-LABlab(65.94, -48.72, 57.99)
CIE-LCHlch(65.94, 75.74, 130.04°)
OKLaboklab(69.01% -0.1356 0.1294)
OKLCHoklch(69.01% 0.187 136.3)
XYZxyz(21.4579, 35.2412, 7.8616)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB42A #7F2AB4
analogous
#A4B42A #5FB42A #2AB43A
triadic
#5FB42A #2A5FB4 #B42A5F
tetradic
#5FB42A #2AA4B4 #7F2AB4 #B43A2A
square
#5FB42A #2AA4B4 #7F2AB4 #B43A2A
split-complementary
#5FB42A #3A2AB4 #B42AA4
monochromatic
#2B5113 #45821E #5FB42A #7DD447 #A0E079

Accessibility & contrast

On white

2.61
#5FB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#5FB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB42A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB42A#FFFFFF#000000##000000
##5FB42A1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA506
Deuteranopia (green-blind)
#AF9E39
Tritanopia (blue-blind)
#5BAD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fb42a;
/* rgb */ color: rgb(95, 180, 42);
/* oklch */ color: oklch(69.0% 0.187 136.3);
Tailwind
colors: {
  custom: {
    50: '#94cb6e',
    500: '#5fb42a',
    950: '#000000',
  },
}
SCSS
$custom: #5fb42a;
$custom-light: #94cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb42a",
  "rgb": {
    "r": 95,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 96.957,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69013,
    "c": 0.18743,
    "h": 136.3
  },
  "luminance": 0.35243
}

Semantic roles & 50–950 ramp

primary
#5FB42A
secondary
#A772C8
accent
#43E5A7
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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