#5C8520#5C8520

#5C8520 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.6% C 0.135 H 129.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5C8520
RGBrgb(92, 133, 32)
HSLhsl(84, 61%, 32%)
HSVhsv(84, 76%, 52%)
CMYKcmyk(30.8%, 0%, 75.9%, 47.8%)
CIE-LABlab(50.87, -30.20, 46.79)
CIE-LCHlch(50.87, 55.68, 122.84°)
OKLaboklab(56.62% -0.0861 0.1045)
OKLCHoklch(56.62% 0.135 129.5)
XYZxyz(13.0618, 19.1543, 4.3752)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8520 #492085
analogous
#857B20 #5C8520 #2A8520
triadic
#5C8520 #205C85 #85205C
tetradic
#5C8520 #20857B #492085 #85202A
square
#5C8520 #20857B #492085 #85202A
split-complementary
#5C8520 #202A85 #7B2085
monochromatic
#182208 #3A5414 #5C8520 #7EB62C #9DD44C

Accessibility & contrast

On white

4.35
#5C8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5C8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8520
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8520#FFFFFF#000000##000000
##5C85201.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#5F7F72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c8520;
/* rgb */ color: rgb(92, 133, 32);
/* oklch */ color: oklch(56.6% 0.135 129.5);
Tailwind
colors: {
  custom: {
    50: '#8ea863',
    500: '#5c8520',
    950: '#000000',
  },
}
SCSS
$custom: #5c8520;
$custom-light: #8ea863;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8520",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 84.356,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.13534,
    "h": 129.5
  },
  "luminance": 0.19155
}

Semantic roles & 50–950 ramp

primary
#5C8520
secondary
#764AB7
accent
#43E485
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5C8520

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

Preview Lab → · Contrast checker → · Palette generator →

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