#5FB22B#5FB22B

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

Color values

HEX#5FB22B
RGBrgb(95, 178, 43)
HSLhsl(97, 61%, 43%)
HSVhsv(97, 76%, 70%)
CMYKcmyk(46.6%, 0%, 75.8%, 30.2%)
CIE-LABlab(65.32, -47.87, 57.05)
CIE-LCHlch(65.32, 74.47, 130.00°)
OKLaboklab(68.51% -0.1332 0.1276)
OKLCHoklch(68.51% 0.184 136.2)
XYZxyz(21.0752, 34.4467, 7.8234)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB22B #7E2BB2
analogous
#A2B22B #5FB22B #2BB23A
triadic
#5FB22B #2B5FB2 #B22B5F
tetradic
#5FB22B #2BA2B2 #7E2BB2 #B23A2B
square
#5FB22B #2BA2B2 #7E2BB2 #B23A2B
split-complementary
#5FB22B #3A2BB2 #B22BA2
monochromatic
#2A4F13 #45811F #5FB22B #7DD348 #A0DF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB22B#FFFFFF#000000##000000
##5FB22B1.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)
#B8A30C
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#5BAB98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb22b;
/* rgb */ color: rgb(95, 178, 43);
/* oklch */ color: oklch(68.5% 0.184 136.2);
Tailwind
colors: {
  custom: {
    50: '#94ca6e',
    500: '#5fb22b',
    950: '#000000',
  },
}
SCSS
$custom: #5fb22b;
$custom-light: #94ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb22b",
  "rgb": {
    "r": 95,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 96.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68505,
    "c": 0.18448,
    "h": 136.2
  },
  "luminance": 0.34448
}

Semantic roles & 50–950 ramp

primary
#5FB22B
secondary
#A672C7
accent
#44E4A6
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB22B

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

Preview Lab → · Contrast checker → · Palette generator →

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