#5E802D#5E802D

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

Color values

HEX#5E802D
RGBrgb(94, 128, 45)
HSLhsl(85, 48%, 34%)
HSVhsv(85, 65%, 50%)
CMYKcmyk(26.6%, 0%, 64.8%, 49.8%)
CIE-LABlab(49.50, -26.00, 39.99)
CIE-LCHlch(49.50, 47.70, 123.03°)
OKLaboklab(55.58% -0.0735 0.0921)
OKLCHoklch(55.58% 0.118 128.6)
XYZxyz(12.8089, 18.0072, 5.2830)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E802D #4F2D80
analogous
#80792D #5E802D #35802D
triadic
#5E802D #2D5E80 #802D5E
tetradic
#5E802D #2D8079 #4F2D80 #802D35
square
#5E802D #2D8079 #4F2D80 #802D35
split-complementary
#5E802D #2D3580 #792D80
monochromatic
#1B250D #3D531D #5E802D #7FAD3D #9DC760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E802D#FFFFFF#000000##000000
##5E802D1.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)
#867723
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#617A6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5e802d;
/* rgb */ color: rgb(94, 128, 45);
/* oklch */ color: oklch(55.6% 0.118 128.6);
Tailwind
colors: {
  custom: {
    50: '#8ea56a',
    500: '#5e802d',
    950: '#000000',
  },
}
SCSS
$custom: #5e802d;
$custom-light: #8ea56a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e802d",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 84.578,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.11785,
    "h": 128.6
  },
  "luminance": 0.18007
}

Semantic roles & 50–950 ramp

primary
#5E802D
secondary
#7D5BAE
accent
#50D888
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F07
muted
#7D7F7A

Preview Lab

Preview with #5E802D

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

Preview Lab → · Contrast checker → · Palette generator →

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