#5FA22B#5FA22B

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

Color values

HEX#5FA22B
RGBrgb(95, 162, 43)
HSLhsl(94, 58%, 40%)
HSVhsv(94, 73%, 64%)
CMYKcmyk(41.4%, 0%, 73.5%, 36.5%)
CIE-LABlab(60.29, -41.31, 52.09)
CIE-LCHlch(60.29, 66.48, 128.41°)
OKLaboklab(64.38% -0.1155 0.1172)
OKLCHoklch(64.38% 0.165 134.6)
XYZxyz(18.0753, 28.4470, 6.8234)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA22B #6E2BA2
analogous
#9AA22B #5FA22B #2BA233
triadic
#5FA22B #2B5FA2 #A22B5F
tetradic
#5FA22B #2B9AA2 #6E2BA2 #A2332B
square
#5FA22B #2B9AA2 #6E2BA2 #A2332B
split-complementary
#5FA22B #332BA2 #A22B9A
monochromatic
#264111 #43721E #5FA22B #7CCC3E #9DD96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA22B#FFFFFF#000000##000000
##5FA22B1.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)
#A89515
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#5E9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa22b;
/* rgb */ color: rgb(95, 162, 43);
/* oklch */ color: oklch(64.4% 0.165 134.6);
Tailwind
colors: {
  custom: {
    50: '#92be6c',
    500: '#5fa22b',
    950: '#000000',
  },
}
SCSS
$custom: #5fa22b;
$custom-light: #92be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa22b",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 93.782,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64383,
    "c": 0.16458,
    "h": 134.6
  },
  "luminance": 0.28448
}

Semantic roles & 50–950 ramp

primary
#5FA22B
secondary
#9A69C0
accent
#47E19E
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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