#5D802D#5D802D

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

Color values

HEX#5D802D
RGBrgb(93, 128, 45)
HSLhsl(85, 48%, 34%)
HSVhsv(85, 65%, 50%)
CMYKcmyk(27.3%, 0%, 64.8%, 49.8%)
CIE-LABlab(49.44, -26.41, 39.91)
CIE-LCHlch(49.44, 47.85, 123.50°)
OKLaboklab(55.52% -0.0746 0.0919)
OKLCHoklch(55.52% 0.118 129.1)
XYZxyz(12.7070, 17.9547, 5.2782)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D802D #502D80
analogous
#807A2D #5D802D #34802D
triadic
#5D802D #2D5D80 #802D5D
tetradic
#5D802D #2D807A #502D80 #802D34
square
#5D802D #2D807A #502D80 #802D34
split-complementary
#5D802D #2D3480 #7A2D80
monochromatic
#1B250D #3C531D #5D802D #7EAD3D #9CC760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5d802d;
/* rgb */ color: rgb(93, 128, 45);
/* oklch */ color: oklch(55.5% 0.118 129.1);
Tailwind
colors: {
  custom: {
    50: '#8ea56a',
    500: '#5d802d',
    950: '#000000',
  },
}
SCSS
$custom: #5d802d;
$custom-light: #8ea56a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d802d",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 85.301,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55515,
    "c": 0.11837,
    "h": 129.1
  },
  "luminance": 0.17955
}

Semantic roles & 50–950 ramp

primary
#5D802D
secondary
#7E5BAE
accent
#50D889
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5D802D

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

Preview Lab → · Contrast checker → · Palette generator →

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