#5E802A#5E802A

#5E802A is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.6% C 0.120 H 128.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5E802A
RGBrgb(94, 128, 42)
HSLhsl(84, 51%, 33%)
HSVhsv(84, 67%, 50%)
CMYKcmyk(26.6%, 0%, 67.2%, 49.8%)
CIE-LABlab(49.48, -26.26, 41.32)
CIE-LCHlch(49.48, 48.96, 122.43°)
OKLaboklab(55.55% -0.0745 0.0945)
OKLCHoklch(55.55% 0.12 128.3)
XYZxyz(12.7532, 17.9849, 4.9896)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E802A #4C2A80
analogous
#80772A #5E802A #33802A
triadic
#5E802A #2A5E80 #802A5E
tetradic
#5E802A #2A8077 #4C2A80 #802A33
square
#5E802A #2A8077 #4C2A80 #802A33
split-complementary
#5E802A #2A3380 #772A80
monochromatic
#1A240C #3C521B #5E802A #80AE39 #9EC95B

Accessibility & contrast

On white

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

On black

4.60
#5E802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E802A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E802A#FFFFFF#000000##000000
##5E802A1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#617A6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5e802a;
/* rgb */ color: rgb(94, 128, 42);
/* oklch */ color: oklch(55.6% 0.120 128.3);
Tailwind
colors: {
  custom: {
    50: '#8ea568',
    500: '#5e802a',
    950: '#000000',
  },
}
SCSS
$custom: #5e802a;
$custom-light: #8ea568;
$custom-dark: #000000;
JSON
{
  "hex": "#5e802a",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 83.721,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55552,
    "c": 0.12034,
    "h": 128.3
  },
  "luminance": 0.17985
}

Semantic roles & 50–950 ramp

primary
#5E802A
secondary
#7A57AF
accent
#4EDA85
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5E802A

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

Preview Lab → · Contrast checker → · Palette generator →

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