#5FB42B#5FB42B

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

Color values

HEX#5FB42B
RGBrgb(95, 180, 43)
HSLhsl(97, 61%, 44%)
HSVhsv(97, 76%, 71%)
CMYKcmyk(47.2%, 0%, 76.1%, 29.4%)
CIE-LABlab(65.94, -48.66, 57.66)
CIE-LCHlch(65.94, 75.45, 130.16°)
OKLaboklab(69.02% -0.1354 0.1289)
OKLCHoklch(69.02% 0.187 136.4)
XYZxyz(21.4760, 35.2484, 7.9570)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB42B #802BB4
analogous
#A3B42B #5FB42B #2BB43B
triadic
#5FB42B #2B5FB4 #B42B5F
tetradic
#5FB42B #2BA3B4 #802BB4 #B43B2B
square
#5FB42B #2BA3B4 #802BB4 #B43B2B
split-complementary
#5FB42B #3B2BB4 #B42BA3
monochromatic
#2B5113 #45831F #5FB42B #7DD349 #A1DF7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB42B#FFFFFF#000000##000000
##5FB42B1.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)
#BAA50A
Deuteranopia (green-blind)
#AF9E3A
Tritanopia (blue-blind)
#5BAD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fb42b;
/* rgb */ color: rgb(95, 180, 43);
/* oklch */ color: oklch(69.0% 0.187 136.4);
Tailwind
colors: {
  custom: {
    50: '#94cb6f',
    500: '#5fb42b',
    950: '#000000',
  },
}
SCSS
$custom: #5fb42b;
$custom-light: #94cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb42b",
  "rgb": {
    "r": 95,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 97.226,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69019,
    "c": 0.1869,
    "h": 136.4
  },
  "luminance": 0.3525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5FB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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