#5CAC31#5CAC31

#5CAC31 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 66.9% C 0.175 H 136.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5CAC31
RGBrgb(92, 172, 49)
HSLhsl(99, 56%, 43%)
HSVhsv(99, 72%, 67%)
CMYKcmyk(46.5%, 0%, 71.5%, 32.5%)
CIE-LABlab(63.34, -46.00, 52.88)
CIE-LCHlch(63.34, 70.09, 131.02°)
OKLaboklab(66.86% -0.1276 0.1198)
OKLCHoklch(66.86% 0.175 136.8)
XYZxyz(19.7200, 32.0008, 8.0428)
Luminance0.3200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CAC31 #8131AC
analogous
#99AC31 #5CAC31 #31AC43
triadic
#5CAC31 #315CAC #AC315C
tetradic
#5CAC31 #3199AC #8131AC #AC4331
square
#5CAC31 #3199AC #8131AC #AC4331
split-complementary
#5CAC31 #4331AC #AC3199
monochromatic
#294D16 #437C23 #5CAC31 #7ACC4E #9EDA7D

Accessibility & contrast

On white

2.84
#5CAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#5CAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CAC31
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CAC31#FFFFFF#000000##000000
##5CAC311.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1D
Deuteranopia (green-blind)
#A7973D
Tritanopia (blue-blind)
#58A694
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5cac31;
/* rgb */ color: rgb(92, 172, 49);
/* oklch */ color: oklch(66.9% 0.175 136.8);
Tailwind
colors: {
  custom: {
    50: '#91c571',
    500: '#5cac31',
    950: '#000000',
  },
}
SCSS
$custom: #5cac31;
$custom-light: #91c571;
$custom-dark: #000000;
JSON
{
  "hex": "#5cac31",
  "rgb": {
    "r": 92,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 99.024,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66863,
    "c": 0.175,
    "h": 136.8
  },
  "luminance": 0.32002
}

Semantic roles & 50–950 ramp

primary
#5CAC31
secondary
#A876C3
accent
#49DFAA
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5CAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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