#5C8120#5C8120

#5C8120 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.130 H 128.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5C8120
RGBrgb(92, 129, 32)
HSLhsl(83, 60%, 32%)
HSVhsv(83, 75%, 51%)
CMYKcmyk(28.7%, 0%, 75.2%, 49.4%)
CIE-LABlab(49.59, -28.29, 45.54)
CIE-LCHlch(49.59, 53.61, 121.85°)
OKLaboklab(55.59% -0.0809 0.1018)
OKLCHoklch(55.59% 0.13 128.5)
XYZxyz(12.5246, 18.0798, 4.1961)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8120 #452081
analogous
#817620 #5C8120 #2C8120
triadic
#5C8120 #205C81 #81205C
tetradic
#5C8120 #208176 #452081 #81202C
square
#5C8120 #208176 #452081 #81202C
split-complementary
#5C8120 #202C81 #762081
monochromatic
#161F08 #395014 #5C8120 #7FB22C #9ED249

Accessibility & contrast

On white

4.55
#5C8120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5C8120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8120
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8120#FFFFFF#000000##000000
##5C81201.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780E
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#5F7B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8120;
/* rgb */ color: rgb(92, 129, 32);
/* oklch */ color: oklch(55.6% 0.130 128.5);
Tailwind
colors: {
  custom: {
    50: '#8ea563',
    500: '#5c8120',
    950: '#000000',
  },
}
SCSS
$custom: #5c8120;
$custom-light: #8ea563;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8120",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 82.887,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.13004,
    "h": 128.5
  },
  "luminance": 0.1808
}

Semantic roles & 50–950 ramp

primary
#5C8120
secondary
#7249B4
accent
#44E381
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F05
muted
#7D7F7A

Preview Lab

Preview with #5C8120

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

Preview Lab → · Contrast checker → · Palette generator →

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