#5CAB2A#5CAB2A

#5CAB2A is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 66.6% C 0.178 H 136.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5CAB2A
RGBrgb(92, 171, 42)
HSLhsl(97, 61%, 42%)
HSVhsv(97, 75%, 67%)
CMYKcmyk(46.2%, 0%, 75.4%, 32.9%)
CIE-LABlab(62.98, -46.09, 55.07)
CIE-LCHlch(62.98, 71.81, 129.92°)
OKLaboklab(66.55% -0.1283 0.1233)
OKLCHoklch(66.55% 0.178 136.1)
XYZxyz(19.3939, 31.5671, 7.2612)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CAB2A #792AAB
analogous
#9DAB2A #5CAB2A #2AAB39
triadic
#5CAB2A #2A5CAB #AB2A5C
tetradic
#5CAB2A #2A9DAB #792AAB #AB392A
square
#5CAB2A #2A9DAB #792AAB #AB392A
split-complementary
#5CAB2A #392AAB #AB2A9D
monochromatic
#274912 #427A1E #5CAB2A #79D142 #9CDD73

Accessibility & contrast

On white

2.87
#5CAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#5CAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CAB2A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CAB2A#FFFFFF#000000##000000
##5CAB2A1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0E
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#59A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5cab2a;
/* rgb */ color: rgb(92, 171, 42);
/* oklch */ color: oklch(66.6% 0.178 136.1);
Tailwind
colors: {
  custom: {
    50: '#91c46d',
    500: '#5cab2a',
    950: '#000000',
  },
}
SCSS
$custom: #5cab2a;
$custom-light: #91c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#5cab2a",
  "rgb": {
    "r": 92,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 96.744,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66552,
    "c": 0.17799,
    "h": 136.1
  },
  "luminance": 0.31568
}

Semantic roles & 50–950 ramp

primary
#5CAB2A
secondary
#A26DC4
accent
#44E4A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5CAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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