#5FB52A#5FB52A

#5FB52A is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.3% C 0.189 H 136.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5FB52A
RGBrgb(95, 181, 42)
HSLhsl(97, 62%, 44%)
HSVhsv(97, 77%, 71%)
CMYKcmyk(47.5%, 0%, 76.8%, 29%)
CIE-LABlab(66.25, -49.11, 58.29)
CIE-LCHlch(66.25, 76.22, 130.12°)
OKLaboklab(69.27% -0.1367 0.13)
OKLCHoklch(69.27% 0.189 136.4)
XYZxyz(21.6605, 35.6464, 7.9291)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB52A #802AB5
analogous
#A4B52A #5FB52A #2AB53A
triadic
#5FB52A #2A5FB5 #B52A5F
tetradic
#5FB52A #2AA4B5 #802AB5 #B53A2A
square
#5FB52A #2AA4B5 #802AB5 #B53A2A
split-complementary
#5FB52A #3A2AB5 #B52AA4
monochromatic
#2B5213 #45831E #5FB52A #7DD448 #A1E079

Accessibility & contrast

On white

2.58
#5FB52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#5FB52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB52A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB52A#FFFFFF#000000##000000
##5FB52A1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA506
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#5BAE9B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5fb52a;
/* rgb */ color: rgb(95, 181, 42);
/* oklch */ color: oklch(69.3% 0.189 136.4);
Tailwind
colors: {
  custom: {
    50: '#94cc6e',
    500: '#5fb52a',
    950: '#000000',
  },
}
SCSS
$custom: #5fb52a;
$custom-light: #94cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb52a",
  "rgb": {
    "r": 95,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 97.122,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6927,
    "c": 0.18863,
    "h": 136.4
  },
  "luminance": 0.35648
}

Semantic roles & 50–950 ramp

primary
#5FB52A
secondary
#A873C8
accent
#42E5A7
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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