#5D802E#5D802E

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

Color values

HEX#5D802E
RGBrgb(93, 128, 46)
HSLhsl(86, 47%, 34%)
HSVhsv(86, 64%, 50%)
CMYKcmyk(27.3%, 0%, 64.1%, 49.8%)
CIE-LABlab(49.45, -26.32, 39.45)
CIE-LCHlch(49.45, 47.43, 123.71°)
OKLaboklab(55.53% -0.0743 0.0911)
OKLCHoklch(55.53% 0.118 129.2)
XYZxyz(12.7264, 17.9625, 5.3808)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D802E #512E80
analogous
#807A2E #5D802E #34802E
triadic
#5D802E #2E5D80 #802E5D
tetradic
#5D802E #2E807A #512E80 #802E34
square
#5D802E #2E807A #512E80 #802E34
split-complementary
#5D802E #2E3480 #7A2E80
monochromatic
#1C260E #3C531E #5D802E #7EAD3E #9CC762

Accessibility & contrast

On white

4.57
#5D802E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5D802E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D802E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D802E#FFFFFF#000000##000000
##5D802E1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#607B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d802e;
/* rgb */ color: rgb(93, 128, 46);
/* oklch */ color: oklch(55.5% 0.118 129.2);
Tailwind
colors: {
  custom: {
    50: '#8da56a',
    500: '#5d802e',
    950: '#000000',
  },
}
SCSS
$custom: #5d802e;
$custom-light: #8da56a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d802e",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 85.61,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55525,
    "c": 0.11752,
    "h": 129.2
  },
  "luminance": 0.17963
}

Semantic roles & 50–950 ramp

primary
#5D802E
secondary
#7F5DAD
accent
#51D78A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5D802E

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

Preview Lab → · Contrast checker → · Palette generator →

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