#5FB22D#5FB22D

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

Color values

HEX#5FB22D
RGBrgb(95, 178, 45)
HSLhsl(97, 60%, 44%)
HSVhsv(97, 75%, 70%)
CMYKcmyk(46.6%, 0%, 74.7%, 30.2%)
CIE-LABlab(65.33, -47.74, 56.38)
CIE-LCHlch(65.33, 73.87, 130.26°)
OKLaboklab(68.52% -0.1328 0.1265)
OKLCHoklch(68.52% 0.183 136.4)
XYZxyz(21.1128, 34.4618, 8.0214)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB22D #802DB2
analogous
#A1B22D #5FB22D #2DB23E
triadic
#5FB22D #2D5FB2 #B22D5F
tetradic
#5FB22D #2DA1B2 #802DB2 #B23E2D
square
#5FB22D #2DA1B2 #802DB2 #B23E2D
split-complementary
#5FB22D #3E2DB2 #B22DA1
monochromatic
#2B5014 #458121 #5FB22D #7DD14B #A1DE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB22D#FFFFFF#000000##000000
##5FB22D1.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)
#B8A311
Deuteranopia (green-blind)
#AD9C3B
Tritanopia (blue-blind)
#5BAB99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb22d;
/* rgb */ color: rgb(95, 178, 45);
/* oklch */ color: oklch(68.5% 0.183 136.4);
Tailwind
colors: {
  custom: {
    50: '#94ca6f',
    500: '#5fb22d',
    950: '#000000',
  },
}
SCSS
$custom: #5fb22d;
$custom-light: #94ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb22d",
  "rgb": {
    "r": 95,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 97.444,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68518,
    "c": 0.18336,
    "h": 136.4
  },
  "luminance": 0.34463
}

Semantic roles & 50–950 ramp

primary
#5FB22D
secondary
#A875C6
accent
#45E3A7
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB22D

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

Preview Lab → · Contrast checker → · Palette generator →

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