#5FB22F#5FB22F

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

Color values

HEX#5FB22F
RGBrgb(95, 178, 47)
HSLhsl(98, 58%, 44%)
HSVhsv(98, 74%, 70%)
CMYKcmyk(46.6%, 0%, 73.6%, 30.2%)
CIE-LABlab(65.34, -47.60, 55.68)
CIE-LCHlch(65.34, 73.26, 130.53°)
OKLaboklab(68.53% -0.1323 0.1253)
OKLCHoklch(68.53% 0.182 136.6)
XYZxyz(21.1522, 34.4776, 8.2290)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB22F #822FB2
analogous
#A1B22F #5FB22F #2FB241
triadic
#5FB22F #2F5FB2 #B22F5F
tetradic
#5FB22F #2FA1B2 #822FB2 #B2412F
square
#5FB22F #2FA1B2 #822FB2 #B2412F
split-complementary
#5FB22F #412FB2 #B22FA1
monochromatic
#2B5115 #458222 #5FB22F #7ED04E #A1DD7E

Accessibility & contrast

On white

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

On black

7.90
#5FB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB22F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB22F#FFFFFF#000000##000000
##5FB22F1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A316
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#5BAB99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb22f;
/* rgb */ color: rgb(95, 178, 47);
/* oklch */ color: oklch(68.5% 0.182 136.6);
Tailwind
colors: {
  custom: {
    50: '#94ca70',
    500: '#5fb22f',
    950: '#000000',
  },
}
SCSS
$custom: #5fb22f;
$custom-light: #94ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb22f",
  "rgb": {
    "r": 95,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 98.015,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68532,
    "c": 0.1822,
    "h": 136.6
  },
  "luminance": 0.34479
}

Semantic roles & 50–950 ramp

primary
#5FB22F
secondary
#A977C6
accent
#46E1A9
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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