#5CA22C#5CA22C

#5CA22C is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.2% C 0.166 H 135.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5CA22C
RGBrgb(92, 162, 44)
HSLhsl(96, 57%, 40%)
HSVhsv(96, 73%, 64%)
CMYKcmyk(43.2%, 0%, 72.8%, 36.5%)
CIE-LABlab(60.16, -42.26, 51.54)
CIE-LCHlch(60.16, 66.65, 129.35°)
OKLaboklab(64.24% -0.1178 0.1162)
OKLCHoklch(64.24% 0.166 135.4)
XYZxyz(17.7882, 28.2968, 6.9069)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA22C #722CA2
analogous
#97A22C #5CA22C #2CA237
triadic
#5CA22C #2C5CA2 #A22C5C
tetradic
#5CA22C #2C97A2 #722CA2 #A2372C
square
#5CA22C #2C97A2 #722CA2 #A2372C
split-complementary
#5CA22C #372CA2 #A22C97
monochromatic
#254212 #41721F #5CA22C #79CB40 #9BD870

Accessibility & contrast

On white

3.15
#5CA22C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#5CA22C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5CA22C
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CA22C#FFFFFF#000000##000000
##5CA22C1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89517
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#5A9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ca22c;
/* rgb */ color: rgb(92, 162, 44);
/* oklch */ color: oklch(64.2% 0.166 135.4);
Tailwind
colors: {
  custom: {
    50: '#90be6d',
    500: '#5ca22c',
    950: '#000000',
  },
}
SCSS
$custom: #5ca22c;
$custom-light: #90be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca22c",
  "rgb": {
    "r": 92,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 95.593,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64237,
    "c": 0.16552,
    "h": 135.4
  },
  "luminance": 0.28298
}

Semantic roles & 50–950 ramp

primary
#5CA22C
secondary
#9D6ABF
accent
#47E1A2
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5CA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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