#5C802E#5C802E

#5C802E is a mid, moderate yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.118 H 129.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5C802E
RGBrgb(92, 128, 46)
HSLhsl(86, 47%, 34%)
HSVhsv(86, 64%, 50%)
CMYKcmyk(28.1%, 0%, 64.1%, 49.8%)
CIE-LABlab(49.39, -26.72, 39.36)
CIE-LCHlch(49.39, 47.58, 124.17°)
OKLaboklab(55.46% -0.0753 0.0909)
OKLCHoklch(55.46% 0.118 129.6)
XYZxyz(12.6259, 17.9106, 5.3761)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C802E #522E80
analogous
#807B2E #5C802E #33802E
triadic
#5C802E #2E5C80 #802E5C
tetradic
#5C802E #2E807B #522E80 #802E33
square
#5C802E #2E807B #522E80 #802E33
split-complementary
#5C802E #2E3380 #7B2E80
monochromatic
#1B260E #3C531E #5C802E #7CAD3E #9AC762

Accessibility & contrast

On white

4.58
#5C802E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5C802E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C802E
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C802E#FFFFFF#000000##000000
##5C802E1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#5E7B6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5c802e;
/* rgb */ color: rgb(92, 128, 46);
/* oklch */ color: oklch(55.5% 0.118 129.6);
Tailwind
colors: {
  custom: {
    50: '#8da56a',
    500: '#5c802e',
    950: '#000000',
  },
}
SCSS
$custom: #5c802e;
$custom-light: #8da56a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c802e",
  "rgb": {
    "r": 92,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 86.341,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.11805,
    "h": 129.6
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#5C802E
secondary
#805DAD
accent
#51D78C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C802E

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

Preview Lab → · Contrast checker → · Palette generator →

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