#5C8E21#5C8E21

#5C8E21 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.147 H 131.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5C8E21
RGBrgb(92, 142, 33)
HSLhsl(88, 62%, 34%)
HSVhsv(88, 77%, 56%)
CMYKcmyk(35.2%, 0%, 76.8%, 44.3%)
CIE-LABlab(53.74, -34.29, 49.22)
CIE-LCHlch(53.74, 59.99, 124.87°)
OKLaboklab(58.97% -0.0971 0.1097)
OKLCHoklch(58.97% 0.147 131.5)
XYZxyz(14.3610, 21.7306, 4.8763)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E21 #53218E
analogous
#8E8A21 #5C8E21 #258E21
triadic
#5C8E21 #215C8E #8E215C
tetradic
#5C8E21 #218E8A #53218E #8E2125
square
#5C8E21 #218E8A #53218E #8E2125
split-complementary
#5C8E21 #21258E #8A218E
monochromatic
#1C2B0A #3C5C15 #5C8E21 #7CC02D #9AD752

Accessibility & contrast

On white

3.93
#5C8E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5C8E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E21
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E21#FFFFFF#000000##000000
##5C8E211.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948308
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#5E8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e21;
/* rgb */ color: rgb(92, 142, 33);
/* oklch */ color: oklch(59.0% 0.147 131.5);
Tailwind
colors: {
  custom: {
    50: '#8faf65',
    500: '#5c8e21',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e21;
$custom-light: #8faf65;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e21",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 87.523,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58967,
    "c": 0.14651,
    "h": 131.5
  },
  "luminance": 0.21731
}

Semantic roles & 50–950 ramp

primary
#5C8E21
secondary
#8150BA
accent
#42E58D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8E21

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

Preview Lab → · Contrast checker → · Palette generator →

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