#5CA22F#5CA22F

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

Color values

HEX#5CA22F
RGBrgb(92, 162, 47)
HSLhsl(97, 55%, 41%)
HSVhsv(97, 71%, 64%)
CMYKcmyk(43.2%, 0%, 71%, 36.5%)
CIE-LABlab(60.18, -42.03, 50.41)
CIE-LCHlch(60.18, 65.63, 129.82°)
OKLaboklab(64.26% -0.117 0.1143)
OKLCHoklch(64.26% 0.164 135.7)
XYZxyz(17.8466, 28.3202, 7.2147)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA22F #752FA2
analogous
#95A22F #5CA22F #2FA23B
triadic
#5CA22F #2F5CA2 #A22F5C
tetradic
#5CA22F #2F95A2 #752FA2 #A23B2F
square
#5CA22F #2F95A2 #752FA2 #A23B2F
split-complementary
#5CA22F #3B2FA2 #A22F95
monochromatic
#264313 #417321 #5CA22F #79C945 #9BD775

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5CA22F#FFFFFF#000000##000000
##5CA22F1.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)
#A8951D
Deuteranopia (green-blind)
#9E8F3A
Tritanopia (blue-blind)
#5A9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ca22f;
/* rgb */ color: rgb(92, 162, 47);
/* oklch */ color: oklch(64.3% 0.164 135.7);
Tailwind
colors: {
  custom: {
    50: '#90be6e',
    500: '#5ca22f',
    950: '#000000',
  },
}
SCSS
$custom: #5ca22f;
$custom-light: #90be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca22f",
  "rgb": {
    "r": 92,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 96.522,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64261,
    "c": 0.16358,
    "h": 135.7
  },
  "luminance": 0.28321
}

Semantic roles & 50–950 ramp

primary
#5CA22F
secondary
#9F6EBF
accent
#49DEA4
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5CA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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