#5CA42C#5CA42C

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

Color values

HEX#5CA42C
RGBrgb(92, 164, 44)
HSLhsl(96, 58%, 41%)
HSVhsv(96, 73%, 64%)
CMYKcmyk(43.9%, 0%, 73.2%, 35.7%)
CIE-LABlab(60.79, -43.09, 52.18)
CIE-LCHlch(60.79, 67.67, 129.55°)
OKLaboklab(64.76% -0.1201 0.1176)
OKLCHoklch(64.76% 0.168 135.6)
XYZxyz(18.1433, 29.0070, 7.0253)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA42C #742CA4
analogous
#98A42C #5CA42C #2CA438
triadic
#5CA42C #2C5CA4 #A42C5C
tetradic
#5CA42C #2C98A4 #742CA4 #A4382C
square
#5CA42C #2C98A4 #742CA4 #A4382C
split-complementary
#5CA42C #382CA4 #A42C98
monochromatic
#264312 #41741F #5CA42C #79CC41 #9BD971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5CA42C#FFFFFF#000000##000000
##5CA42C1.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)
#AA9616
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#5A9E8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ca42c;
/* rgb */ color: rgb(92, 164, 44);
/* oklch */ color: oklch(64.8% 0.168 135.6);
Tailwind
colors: {
  custom: {
    50: '#90bf6d',
    500: '#5ca42c',
    950: '#000000',
  },
}
SCSS
$custom: #5ca42c;
$custom-light: #90bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca42c",
  "rgb": {
    "r": 92,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 96,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.16806,
    "h": 135.6
  },
  "luminance": 0.29008
}

Semantic roles & 50–950 ramp

primary
#5CA42C
secondary
#9E6BC0
accent
#47E1A3
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5CA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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