#5E802E#5E802E

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

Color values

HEX#5E802E
RGBrgb(94, 128, 46)
HSLhsl(85, 47%, 34%)
HSVhsv(85, 64%, 50%)
CMYKcmyk(26.6%, 0%, 64.1%, 49.8%)
CIE-LABlab(49.51, -25.91, 39.54)
CIE-LCHlch(49.51, 47.27, 123.24°)
OKLaboklab(55.59% -0.0732 0.0913)
OKLCHoklch(55.59% 0.117 128.7)
XYZxyz(12.8284, 18.0150, 5.3856)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E802E #502E80
analogous
#80792E #5E802E #35802E
triadic
#5E802E #2E5E80 #802E5E
tetradic
#5E802E #2E8079 #502E80 #802E35
square
#5E802E #2E8079 #502E80 #802E35
split-complementary
#5E802E #2E3580 #792E80
monochromatic
#1C260E #3D531E #5E802E #7FAD3E #9DC762

Accessibility & contrast

On white

4.56
#5E802E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E802E#FFFFFF#000000##000000
##5E802E1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e802e;
/* rgb */ color: rgb(94, 128, 46);
/* oklch */ color: oklch(55.6% 0.117 128.7);
Tailwind
colors: {
  custom: {
    50: '#8ea56a',
    500: '#5e802e',
    950: '#000000',
  },
}
SCSS
$custom: #5e802e;
$custom-light: #8ea56a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e802e",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 84.878,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.11699,
    "h": 128.7
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#5E802E
secondary
#7E5DAD
accent
#51D788
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F07
muted
#7D7F7A

Preview Lab

Preview with #5E802E

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

Preview Lab → · Contrast checker → · Palette generator →

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