#5CB42A#5CB42A

#5CB42A is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 68.9% C 0.189 H 136.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#5CB42A
RGBrgb(92, 180, 42)
HSLhsl(98, 62%, 44%)
HSVhsv(98, 77%, 71%)
CMYKcmyk(48.9%, 0%, 76.7%, 29.4%)
CIE-LABlab(65.81, -49.65, 57.83)
CIE-LCHlch(65.81, 76.21, 130.65°)
OKLaboklab(68.88% -0.1379 0.1291)
OKLCHoklch(68.88% 0.189 136.9)
XYZxyz(21.1522, 35.0835, 7.8472)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB42A #822AB4
analogous
#A1B42A #5CB42A #2AB43D
triadic
#5CB42A #2A5CB4 #B42A5C
tetradic
#5CB42A #2AA1B4 #822AB4 #B43D2A
square
#5CB42A #2AA1B4 #822AB4 #B43D2A
split-complementary
#5CB42A #3D2AB4 #B42AA1
monochromatic
#295113 #43821E #5CB42A #7AD447 #9EE079

Accessibility & contrast

On white

2.62
#5CB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#5CB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CB42A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CB42A#FFFFFF#000000##000000
##5CB42A1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA407
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#57AD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5cb42a;
/* rgb */ color: rgb(92, 180, 42);
/* oklch */ color: oklch(68.9% 0.189 136.9);
Tailwind
colors: {
  custom: {
    50: '#92cb6e',
    500: '#5cb42a',
    950: '#000000',
  },
}
SCSS
$custom: #5cb42a;
$custom-light: #92cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb42a",
  "rgb": {
    "r": 92,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 98.261,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68878,
    "c": 0.1889,
    "h": 136.9
  },
  "luminance": 0.35085
}

Semantic roles & 50–950 ramp

primary
#5CB42A
secondary
#A972C8
accent
#43E5AA
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5CB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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