#5FB72A#5FB72A

#5FB72A is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 69.8% C 0.191 H 136.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5FB72A
RGBrgb(95, 183, 42)
HSLhsl(97, 63%, 44%)
HSVhsv(97, 77%, 72%)
CMYKcmyk(48.1%, 0%, 77%, 28.2%)
CIE-LABlab(66.87, -49.90, 58.89)
CIE-LCHlch(66.87, 77.19, 130.27°)
OKLaboklab(69.78% -0.1388 0.1313)
OKLCHoklch(69.78% 0.191 136.6)
XYZxyz(22.0701, 36.4655, 8.0656)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB72A #822AB7
analogous
#A6B72A #5FB72A #2AB73C
triadic
#5FB72A #2A5FB7 #B72A5F
tetradic
#5FB72A #2AA6B7 #822AB7 #B73C2A
square
#5FB72A #2AA6B7 #822AB7 #B73C2A
split-complementary
#5FB72A #3C2AB7 #B72AA6
monochromatic
#2B5313 #45851F #5FB72A #7ED549 #A1E17B

Accessibility & contrast

On white

2.53
#5FB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#5FB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB72A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB72A#FFFFFF#000000##000000
##5FB72A1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA704
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#5AB09D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fb72a;
/* rgb */ color: rgb(95, 183, 42);
/* oklch */ color: oklch(69.8% 0.191 136.6);
Tailwind
colors: {
  custom: {
    50: '#94cd6e',
    500: '#5fb72a',
    950: '#000000',
  },
}
SCSS
$custom: #5fb72a;
$custom-light: #94cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb72a",
  "rgb": {
    "r": 95,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 97.447,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69784,
    "c": 0.19102,
    "h": 136.6
  },
  "luminance": 0.36467
}

Semantic roles & 50–950 ramp

primary
#5FB72A
secondary
#A974C9
accent
#42E6A8
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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