#5D802A#5D802A

#5D802A is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.121 H 128.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5D802A
RGBrgb(93, 128, 42)
HSLhsl(84, 51%, 33%)
HSVhsv(84, 67%, 50%)
CMYKcmyk(27.3%, 0%, 67.2%, 49.8%)
CIE-LABlab(49.41, -26.67, 41.24)
CIE-LCHlch(49.41, 49.11, 122.89°)
OKLaboklab(55.48% -0.0756 0.0943)
OKLCHoklch(55.48% 0.121 128.7)
XYZxyz(12.6512, 17.9324, 4.9848)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D802A #4D2A80
analogous
#80782A #5D802A #32802A
triadic
#5D802A #2A5D80 #802A5D
tetradic
#5D802A #2A8078 #4D2A80 #802A32
square
#5D802A #2A8078 #4D2A80 #802A32
split-complementary
#5D802A #2A3280 #782A80
monochromatic
#1A240C #3C521B #5D802A #7EAE39 #9CC95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D802A#FFFFFF#000000##000000
##5D802A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#817531
Tritanopia (blue-blind)
#607A6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d802a;
/* rgb */ color: rgb(93, 128, 42);
/* oklch */ color: oklch(55.5% 0.121 128.7);
Tailwind
colors: {
  custom: {
    50: '#8ea568',
    500: '#5d802a',
    950: '#000000',
  },
}
SCSS
$custom: #5d802a;
$custom-light: #8ea568;
$custom-dark: #000000;
JSON
{
  "hex": "#5d802a",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 84.419,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55484,
    "c": 0.12087,
    "h": 128.7
  },
  "luminance": 0.17933
}

Semantic roles & 50–950 ramp

primary
#5D802A
secondary
#7B57AF
accent
#4EDA87
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5D802A

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

Preview Lab → · Contrast checker → · Palette generator →

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