#5CA831#5CA831

#5CA831 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 65.8% C 0.170 H 136.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5CA831
RGBrgb(92, 168, 49)
HSLhsl(98, 55%, 43%)
HSVhsv(98, 71%, 66%)
CMYKcmyk(45.2%, 0%, 70.8%, 34.1%)
CIE-LABlab(62.08, -44.37, 51.59)
CIE-LCHlch(62.08, 68.05, 130.70°)
OKLaboklab(65.83% -0.1232 0.1171)
OKLCHoklch(65.83% 0.17 136.5)
XYZxyz(18.9701, 30.5012, 7.7929)
Luminance0.3050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA831 #7D31A8
analogous
#98A831 #5CA831 #31A841
triadic
#5CA831 #315CA8 #A8315C
tetradic
#5CA831 #3198A8 #7D31A8 #A84131
square
#5CA831 #3198A8 #7D31A8 #A84131
split-complementary
#5CA831 #4131A8 #A83198
monochromatic
#284915 #427923 #5CA831 #79CB4C #9DD87B

Accessibility & contrast

On white

2.96
#5CA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#5CA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CA831
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CA831#FFFFFF#000000##000000
##5CA8311.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#A4943C
Tritanopia (blue-blind)
#59A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ca831;
/* rgb */ color: rgb(92, 168, 49);
/* oklch */ color: oklch(65.8% 0.170 136.5);
Tailwind
colors: {
  custom: {
    50: '#91c270',
    500: '#5ca831',
    950: '#000000',
  },
}
SCSS
$custom: #5ca831;
$custom-light: #91c270;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca831",
  "rgb": {
    "r": 92,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 98.319,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65829,
    "c": 0.16994,
    "h": 136.5
  },
  "luminance": 0.30502
}

Semantic roles & 50–950 ramp

primary
#5CA831
secondary
#A574C1
accent
#4ADEA8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5CA831

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

Preview Lab → · Contrast checker → · Palette generator →

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