#5CA42A#5CA42A

#5CA42A is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.7% C 0.169 H 135.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5CA42A
RGBrgb(92, 164, 42)
HSLhsl(95, 59%, 40%)
HSVhsv(95, 74%, 64%)
CMYKcmyk(43.9%, 0%, 74.4%, 35.7%)
CIE-LABlab(60.77, -43.23, 52.90)
CIE-LCHlch(60.77, 68.31, 129.26°)
OKLaboklab(64.74% -0.1206 0.1188)
OKLCHoklch(64.74% 0.169 135.4)
XYZxyz(18.1066, 28.9923, 6.8320)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA42A #722AA4
analogous
#99A42A #5CA42A #2AA435
triadic
#5CA42A #2A5CA4 #A42A5C
tetradic
#5CA42A #2A99A4 #722AA4 #A4352A
square
#5CA42A #2A99A4 #722AA4 #A4352A
split-complementary
#5CA42A #352AA4 #A42A99
monochromatic
#254311 #41731E #5CA42A #79CD3E #9BDA6E

Accessibility & contrast

On white

3.09
#5CA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#5CA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5CA42A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CA42A#FFFFFF#000000##000000
##5CA42A1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9612
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#5A9E8C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ca42a;
/* rgb */ color: rgb(92, 164, 42);
/* oklch */ color: oklch(64.7% 0.169 135.4);
Tailwind
colors: {
  custom: {
    50: '#90bf6c',
    500: '#5ca42a',
    950: '#000000',
  },
}
SCSS
$custom: #5ca42a;
$custom-light: #90bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca42a",
  "rgb": {
    "r": 92,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 95.41,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6474,
    "c": 0.16929,
    "h": 135.4
  },
  "luminance": 0.28993
}

Semantic roles & 50–950 ramp

primary
#5CA42A
secondary
#9D69C1
accent
#45E2A2
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5CA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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