#5C8F20#5C8F20

#5C8F20 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.148 H 131.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5C8F20
RGBrgb(92, 143, 32)
HSLhsl(88, 63%, 34%)
HSVhsv(88, 78%, 56%)
CMYKcmyk(35.7%, 0%, 77.6%, 43.9%)
CIE-LABlab(54.05, -34.80, 49.87)
CIE-LCHlch(54.05, 60.81, 124.91°)
OKLaboklab(59.22% -0.0985 0.1109)
OKLCHoklch(59.22% 0.148 131.6)
XYZxyz(14.4967, 22.0239, 4.8535)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F20 #53208F
analogous
#8F8B20 #5C8F20 #248F20
triadic
#5C8F20 #205C8F #8F205C
tetradic
#5C8F20 #208F8B #53208F #8F2024
square
#5C8F20 #208F8B #53208F #8F2024
split-complementary
#5C8F20 #20248F #8B208F
monochromatic
#1C2B0A #3C5D15 #5C8F20 #7CC12B #9AD851

Accessibility & contrast

On white

3.89
#5C8F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5C8F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F20
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F20#FFFFFF#000000##000000
##5C8F201.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958405
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#5E897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f20;
/* rgb */ color: rgb(92, 143, 32);
/* oklch */ color: oklch(59.2% 0.148 131.6);
Tailwind
colors: {
  custom: {
    50: '#8fb065',
    500: '#5c8f20',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f20;
$custom-light: #8fb065;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f20",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 87.568,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5922,
    "c": 0.14838,
    "h": 131.6
  },
  "luminance": 0.22025
}

Semantic roles & 50–950 ramp

primary
#5C8F20
secondary
#814FBB
accent
#41E68D
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8F20

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

Preview Lab → · Contrast checker → · Palette generator →

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