#5D802F#5D802F

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

Color values

HEX#5D802F
RGBrgb(93, 128, 47)
HSLhsl(86, 46%, 34%)
HSVhsv(86, 63%, 50%)
CMYKcmyk(27.3%, 0%, 63.3%, 49.8%)
CIE-LABlab(49.46, -26.23, 38.99)
CIE-LCHlch(49.46, 46.99, 123.92°)
OKLaboklab(55.54% -0.0739 0.0902)
OKLCHoklch(55.54% 0.117 129.3)
XYZxyz(12.7464, 17.9704, 5.4859)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D802F #522F80
analogous
#807B2F #5D802F #35802F
triadic
#5D802F #2F5D80 #802F5D
tetradic
#5D802F #2F807B #522F80 #802F35
square
#5D802F #2F807B #522F80 #802F35
split-complementary
#5D802F #2F3580 #7B2F80
monochromatic
#1C260E #3C531F #5D802F #7EAD3F #9BC663

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D802F#FFFFFF#000000##000000
##5D802F1.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)
#867726
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#607B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d802f;
/* rgb */ color: rgb(93, 128, 47);
/* oklch */ color: oklch(55.5% 0.117 129.3);
Tailwind
colors: {
  custom: {
    50: '#8da56b',
    500: '#5d802f',
    950: '#000000',
  },
}
SCSS
$custom: #5d802f;
$custom-light: #8da56b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d802f",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 85.926,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55536,
    "c": 0.11664,
    "h": 129.3
  },
  "luminance": 0.17971
}

Semantic roles & 50–950 ramp

primary
#5D802F
secondary
#805EAD
accent
#52D68B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5D802F

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

Preview Lab → · Contrast checker → · Palette generator →

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