#5CA821#5CA821

#5CA821 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.7% C 0.179 H 135.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5CA821
RGBrgb(92, 168, 33)
HSLhsl(94, 67%, 39%)
HSVhsv(94, 80%, 66%)
CMYKcmyk(45.2%, 0%, 80.4%, 34.1%)
CIE-LABlab(61.99, -45.40, 57.03)
CIE-LCHlch(61.99, 72.89, 128.52°)
OKLaboklab(65.72% -0.127 0.1261)
OKLCHoklch(65.72% 0.179 135.2)
XYZxyz(18.6904, 30.3893, 6.3194)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA821 #6D21A8
analogous
#A0A821 #5CA821 #21A82A
triadic
#5CA821 #215CA8 #A8215C
tetradic
#5CA821 #21A0A8 #6D21A8 #A82A21
square
#5CA821 #21A0A8 #6D21A8 #A82A21
split-complementary
#5CA821 #2A21A8 #A821A0
monochromatic
#24420D #407517 #5CA821 #79D630 #9AE063

Accessibility & contrast

On white

2.97
#5CA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5CA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CA821
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CA821#FFFFFF#000000##000000
##5CA8211.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A49431
Tritanopia (blue-blind)
#5AA18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ca821;
/* rgb */ color: rgb(92, 168, 33);
/* oklch */ color: oklch(65.7% 0.179 135.2);
Tailwind
colors: {
  custom: {
    50: '#91c268',
    500: '#5ca821',
    950: '#000000',
  },
}
SCSS
$custom: #5ca821;
$custom-light: #91c268;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca821",
  "rgb": {
    "r": 92,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 93.778,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6572,
    "c": 0.17899,
    "h": 135.2
  },
  "luminance": 0.3039
}

Semantic roles & 50–950 ramp

primary
#5CA821
secondary
#995FC5
accent
#3EEA9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5CA821

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

Preview Lab → · Contrast checker → · Palette generator →

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