#5C8B20#5C8B20

#5C8B20 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.2% C 0.143 H 130.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C8B20
RGBrgb(92, 139, 32)
HSLhsl(86, 63%, 34%)
HSVhsv(86, 77%, 55%)
CMYKcmyk(33.8%, 0%, 77%, 45.5%)
CIE-LABlab(52.78, -32.99, 48.64)
CIE-LCHlch(52.78, 58.77, 124.14°)
OKLaboklab(58.18% -0.0936 0.1084)
OKLCHoklch(58.18% 0.143 130.8)
XYZxyz(13.9069, 20.8443, 4.6569)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B20 #4F208B
analogous
#8B8420 #5C8B20 #268B20
triadic
#5C8B20 #205C8B #8B205C
tetradic
#5C8B20 #208B84 #4F208B #8B2026
square
#5C8B20 #208B84 #4F208B #8B2026
split-complementary
#5C8B20 #20268B #84208B
monochromatic
#1A2809 #3B5915 #5C8B20 #7DBD2B #9BD64F

Accessibility & contrast

On white

4.06
#5C8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5C8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B20
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B20#FFFFFF#000000##000000
##5C8B201.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#5E8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b20;
/* rgb */ color: rgb(92, 139, 32);
/* oklch */ color: oklch(58.2% 0.143 130.8);
Tailwind
colors: {
  custom: {
    50: '#8ead64',
    500: '#5c8b20',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b20;
$custom-light: #8ead64;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b20",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 86.355,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58181,
    "c": 0.1432,
    "h": 130.8
  },
  "luminance": 0.20845
}

Semantic roles & 50–950 ramp

primary
#5C8B20
secondary
#7D4DBA
accent
#42E68A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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