#5FA22A#5FA22A

#5FA22A is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.4% C 0.165 H 134.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5FA22A
RGBrgb(95, 162, 42)
HSLhsl(94, 59%, 40%)
HSVhsv(94, 74%, 64%)
CMYKcmyk(41.4%, 0%, 74.1%, 36.5%)
CIE-LABlab(60.28, -41.37, 52.46)
CIE-LCHlch(60.28, 66.81, 128.26°)
OKLaboklab(64.38% -0.1158 0.1178)
OKLCHoklch(64.38% 0.165 134.5)
XYZxyz(18.0572, 28.4398, 6.7280)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA22A #6D2AA2
analogous
#9BA22A #5FA22A #2AA231
triadic
#5FA22A #2A5FA2 #A22A5F
tetradic
#5FA22A #2A9BA2 #6D2AA2 #A2312A
square
#5FA22A #2A9BA2 #6D2AA2 #A2312A
split-complementary
#5FA22A #312AA2 #A22A9B
monochromatic
#264111 #42711D #5FA22A #7CCD3D #9DD96D

Accessibility & contrast

On white

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

On black

6.69
#5FA22A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA22A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA22A#FFFFFF#000000##000000
##5FA22A1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fa22a;
/* rgb */ color: rgb(95, 162, 42);
/* oklch */ color: oklch(64.4% 0.165 134.5);
Tailwind
colors: {
  custom: {
    50: '#92be6c',
    500: '#5fa22a',
    950: '#000000',
  },
}
SCSS
$custom: #5fa22a;
$custom-light: #92be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa22a",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 93.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.64376,
    "c": 0.16519,
    "h": 134.5
  },
  "luminance": 0.28441
}

Semantic roles & 50–950 ramp

primary
#5FA22A
secondary
#9968C0
accent
#46E29D
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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