#5FA22F#5FA22F

#5FA22F is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.4% C 0.162 H 135.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5FA22F
RGBrgb(95, 162, 47)
HSLhsl(95, 55%, 41%)
HSVhsv(95, 71%, 64%)
CMYKcmyk(41.4%, 0%, 71%, 36.5%)
CIE-LABlab(60.32, -41.02, 50.60)
CIE-LCHlch(60.32, 65.13, 129.03°)
OKLaboklab(64.42% -0.1145 0.1147)
OKLCHoklch(64.42% 0.162 135)
XYZxyz(18.1523, 28.4778, 7.2291)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA22F #722FA2
analogous
#98A22F #5FA22F #2FA239
triadic
#5FA22F #2F5FA2 #A22F5F
tetradic
#5FA22F #2F98A2 #722FA2 #A2392F
square
#5FA22F #2F98A2 #722FA2 #A2392F
split-complementary
#5FA22F #392FA2 #A22F98
monochromatic
#274313 #437321 #5FA22F #7CC945 #9ED775

Accessibility & contrast

On white

3.14
#5FA22F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5FA22F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA22F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA22F#FFFFFF#000000##000000
##5FA22F1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951D
Deuteranopia (green-blind)
#9F8F3A
Tritanopia (blue-blind)
#5E9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa22f;
/* rgb */ color: rgb(95, 162, 47);
/* oklch */ color: oklch(64.4% 0.162 135.0);
Tailwind
colors: {
  custom: {
    50: '#92be6e',
    500: '#5fa22f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa22f;
$custom-light: #92be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa22f",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 94.957,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64415,
    "c": 0.16201,
    "h": 135
  },
  "luminance": 0.28479
}

Semantic roles & 50–950 ramp

primary
#5FA22F
secondary
#9D6EBF
accent
#49DEA0
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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