#5FB22C#5FB22C

#5FB22C is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.5% C 0.184 H 136.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5FB22C
RGBrgb(95, 178, 44)
HSLhsl(97, 60%, 44%)
HSVhsv(97, 75%, 70%)
CMYKcmyk(46.6%, 0%, 75.3%, 30.2%)
CIE-LABlab(65.32, -47.80, 56.72)
CIE-LCHlch(65.32, 74.18, 130.12°)
OKLaboklab(68.51% -0.133 0.127)
OKLCHoklch(68.51% 0.184 136.3)
XYZxyz(21.0938, 34.4542, 7.9212)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB22C #7F2CB2
analogous
#A2B22C #5FB22C #2CB23C
triadic
#5FB22C #2C5FB2 #B22C5F
tetradic
#5FB22C #2CA2B2 #7F2CB2 #B23C2C
square
#5FB22C #2CA2B2 #7F2CB2 #B23C2C
split-complementary
#5FB22C #3C2CB2 #B22CA2
monochromatic
#2B5014 #458120 #5FB22C #7DD249 #A0DE7A

Accessibility & contrast

On white

2.66
#5FB22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#5FB22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB22C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB22C#FFFFFF#000000##000000
##5FB22C1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30F
Deuteranopia (green-blind)
#AD9C3A
Tritanopia (blue-blind)
#5BAB98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb22c;
/* rgb */ color: rgb(95, 178, 44);
/* oklch */ color: oklch(68.5% 0.184 136.3);
Tailwind
colors: {
  custom: {
    50: '#94ca6f',
    500: '#5fb22c',
    950: '#000000',
  },
}
SCSS
$custom: #5fb22c;
$custom-light: #94ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb22c",
  "rgb": {
    "r": 95,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 97.164,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68511,
    "c": 0.18392,
    "h": 136.3
  },
  "luminance": 0.34456
}

Semantic roles & 50–950 ramp

primary
#5FB22C
secondary
#A773C6
accent
#44E4A7
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB22C

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

Preview Lab → · Contrast checker → · Palette generator →

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