#5FB42F#5FB42F

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

Color values

HEX#5FB42F
RGBrgb(95, 180, 47)
HSLhsl(98, 59%, 45%)
HSVhsv(98, 74%, 71%)
CMYKcmyk(47.2%, 0%, 73.9%, 29.4%)
CIE-LABlab(65.97, -48.40, 56.31)
CIE-LCHlch(65.97, 74.25, 130.68°)
OKLaboklab(69.05% -0.1344 0.1266)
OKLCHoklch(69.05% 0.185 136.7)
XYZxyz(21.5530, 35.2792, 8.3626)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB42F #842FB4
analogous
#A2B42F #5FB42F #2FB442
triadic
#5FB42F #2F5FB4 #B42F5F
tetradic
#5FB42F #2FA2B4 #842FB4 #B4422F
square
#5FB42F #2FA2B4 #842FB4 #B4422F
split-complementary
#5FB42F #422FB4 #B42FA2
monochromatic
#2C5316 #458322 #5FB42F #7ED14F #A2DE80

Accessibility & contrast

On white

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

On black

8.06
#5FB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB42F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB42F#FFFFFF#000000##000000
##5FB42F1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fb42f;
/* rgb */ color: rgb(95, 180, 47);
/* oklch */ color: oklch(69.0% 0.185 136.7);
Tailwind
colors: {
  custom: {
    50: '#94cb70',
    500: '#5fb42f',
    950: '#000000',
  },
}
SCSS
$custom: #5fb42f;
$custom-light: #94cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb42f",
  "rgb": {
    "r": 95,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 98.346,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69046,
    "c": 0.18464,
    "h": 136.7
  },
  "luminance": 0.35281
}

Semantic roles & 50–950 ramp

primary
#5FB42F
secondary
#AA78C7
accent
#46E2AA
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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