#5C8720#5C8720

#5C8720 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.1% C 0.138 H 130.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5C8720
RGBrgb(92, 135, 32)
HSLhsl(85, 62%, 33%)
HSVhsv(85, 76%, 53%)
CMYKcmyk(31.9%, 0%, 76.3%, 47.1%)
CIE-LABlab(51.50, -31.14, 47.41)
CIE-LCHlch(51.50, 56.72, 123.30°)
OKLaboklab(57.14% -0.0886 0.1058)
OKLCHoklch(57.14% 0.138 130)
XYZxyz(13.3383, 19.7071, 4.4673)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8720 #4B2087
analogous
#877F20 #5C8720 #288720
triadic
#5C8720 #205C87 #87205C
tetradic
#5C8720 #20877F #4B2087 #872028
square
#5C8720 #20877F #4B2087 #872028
split-complementary
#5C8720 #202887 #7F2087
monochromatic
#192409 #3A5614 #5C8720 #7EB82C #9CD54D

Accessibility & contrast

On white

4.25
#5C8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5C8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8720
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8720#FFFFFF#000000##000000
##5C87201.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0A
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#5F8173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c8720;
/* rgb */ color: rgb(92, 135, 32);
/* oklch */ color: oklch(57.1% 0.138 130.0);
Tailwind
colors: {
  custom: {
    50: '#8eaa63',
    500: '#5c8720',
    950: '#000000',
  },
}
SCSS
$custom: #5c8720;
$custom-light: #8eaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8720",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 85.049,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.13797,
    "h": 130
  },
  "luminance": 0.19708
}

Semantic roles & 50–950 ramp

primary
#5C8720
secondary
#784BB8
accent
#43E587
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8720

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

Preview Lab → · Contrast checker → · Palette generator →

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