#5C9E20#5C9E20

#5C9E20 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.167 H 134.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5C9E20
RGBrgb(92, 158, 32)
HSLhsl(91, 66%, 37%)
HSVhsv(91, 80%, 62%)
CMYKcmyk(41.8%, 0%, 79.7%, 38%)
CIE-LABlab(58.82, -41.33, 54.38)
CIE-LCHlch(58.82, 68.30, 127.24°)
OKLaboklab(63.12% -0.1162 0.1204)
OKLCHoklch(63.12% 0.167 134)
XYZxyz(16.9009, 26.8324, 5.6549)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9E20 #62209E
analogous
#9B9E20 #5C9E20 #209E23
triadic
#5C9E20 #205C9E #9E205C
tetradic
#5C9E20 #209B9E #62209E #9E2320
square
#5C9E20 #209B9E #62209E #9E2320
split-complementary
#5C9E20 #23209E #9E209B
monochromatic
#21380B #3E6B16 #5C9E20 #7AD12A #99DE5B

Accessibility & contrast

On white

3.30
#5C9E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#5C9E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9E20
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9E20#FFFFFF#000000##000000
##5C9E201.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#5B9887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5c9e20;
/* rgb */ color: rgb(92, 158, 32);
/* oklch */ color: oklch(63.1% 0.167 134.0);
Tailwind
colors: {
  custom: {
    50: '#90bb67',
    500: '#5c9e20',
    950: '#000000',
  },
}
SCSS
$custom: #5c9e20;
$custom-light: #90bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9e20",
  "rgb": {
    "r": 92,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 91.429,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63119,
    "c": 0.16729,
    "h": 134
  },
  "luminance": 0.26833
}

Semantic roles & 50–950 ramp

primary
#5C9E20
secondary
#8F58C2
accent
#3FE998
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5C9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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