#5FB42D#5FB42D

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

Color values

HEX#5FB42D
RGBrgb(95, 180, 45)
HSLhsl(98, 60%, 44%)
HSVhsv(98, 75%, 71%)
CMYKcmyk(47.2%, 0%, 75%, 29.4%)
CIE-LABlab(65.95, -48.53, 56.99)
CIE-LCHlch(65.95, 74.86, 130.41°)
OKLaboklab(69.03% -0.1349 0.1277)
OKLCHoklch(69.03% 0.186 136.6)
XYZxyz(21.5136, 35.2635, 8.1550)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB42D #822DB4
analogous
#A3B42D #5FB42D #2DB43F
triadic
#5FB42D #2D5FB4 #B42D5F
tetradic
#5FB42D #2DA3B4 #822DB4 #B43F2D
square
#5FB42D #2DA3B4 #822DB4 #B43F2D
split-complementary
#5FB42D #3F2DB4 #B42DA3
monochromatic
#2B5215 #458321 #5FB42D #7ED24C #A1DE7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB42D#FFFFFF#000000##000000
##5FB42D1.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)
#BAA510
Deuteranopia (green-blind)
#AF9E3B
Tritanopia (blue-blind)
#5BAD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fb42d;
/* rgb */ color: rgb(95, 180, 45);
/* oklch */ color: oklch(69.0% 0.186 136.6);
Tailwind
colors: {
  custom: {
    50: '#94cb70',
    500: '#5fb42d',
    950: '#000000',
  },
}
SCSS
$custom: #5fb42d;
$custom-light: #94cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb42d",
  "rgb": {
    "r": 95,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 97.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69032,
    "c": 0.18579,
    "h": 136.6
  },
  "luminance": 0.35265
}

Semantic roles & 50–950 ramp

primary
#5FB42D
secondary
#A976C7
accent
#45E3A8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB42D

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

Preview Lab → · Contrast checker → · Palette generator →

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