#5FB42E#5FB42E

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

Color values

HEX#5FB42E
RGBrgb(95, 180, 46)
HSLhsl(98, 59%, 44%)
HSVhsv(98, 74%, 71%)
CMYKcmyk(47.2%, 0%, 74.4%, 29.4%)
CIE-LABlab(65.96, -48.47, 56.65)
CIE-LCHlch(65.96, 74.55, 130.55°)
OKLaboklab(69.04% -0.1347 0.1272)
OKLCHoklch(69.04% 0.185 136.6)
XYZxyz(21.5331, 35.2713, 8.2576)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB42E #832EB4
analogous
#A2B42E #5FB42E #2EB440
triadic
#5FB42E #2E5FB4 #B42E5F
tetradic
#5FB42E #2EA2B4 #832EB4 #B4402E
square
#5FB42E #2EA2B4 #832EB4 #B4402E
split-complementary
#5FB42E #402EB4 #B42EA2
monochromatic
#2C5315 #458322 #5FB42E #7ED24E #A1DE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB42E#FFFFFF#000000##000000
##5FB42E1.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)
#BAA513
Deuteranopia (green-blind)
#AF9E3C
Tritanopia (blue-blind)
#5BAD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fb42e;
/* rgb */ color: rgb(95, 180, 46);
/* oklch */ color: oklch(69.0% 0.185 136.6);
Tailwind
colors: {
  custom: {
    50: '#94cb70',
    500: '#5fb42e',
    950: '#000000',
  },
}
SCSS
$custom: #5fb42e;
$custom-light: #94cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb42e",
  "rgb": {
    "r": 95,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 98.06,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69039,
    "c": 0.18522,
    "h": 136.6
  },
  "luminance": 0.35273
}

Semantic roles & 50–950 ramp

primary
#5FB42E
secondary
#AA77C7
accent
#45E2A9
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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