#5D882D#5D882D

#5D882D is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.130 H 131.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5D882D
RGBrgb(93, 136, 45)
HSLhsl(88, 50%, 35%)
HSVhsv(88, 67%, 53%)
CMYKcmyk(31.6%, 0%, 66.9%, 46.7%)
CIE-LABlab(51.98, -30.26, 42.65)
CIE-LCHlch(51.98, 52.30, 125.36°)
OKLaboklab(57.58% -0.0852 0.0977)
OKLCHoklch(57.58% 0.13 131.1)
XYZxyz(13.7919, 20.1245, 5.6399)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D882D #582D88
analogous
#88852D #5D882D #2F882D
triadic
#5D882D #2D5D88 #882D5D
tetradic
#5D882D #2D8885 #582D88 #882D2F
square
#5D882D #2D8885 #582D88 #882D2F
split-complementary
#5D882D #2D2F88 #852D88
monochromatic
#1E2C0F #3E5A1E #5D882D #7CB63C #9BCC64

Accessibility & contrast

On white

4.18
#5D882D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5D882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D882D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D882D#FFFFFF#000000##000000
##5D882D1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#5F8275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d882d;
/* rgb */ color: rgb(93, 136, 45);
/* oklch */ color: oklch(57.6% 0.130 131.1);
Tailwind
colors: {
  custom: {
    50: '#8eab6b',
    500: '#5d882d',
    950: '#000000',
  },
}
SCSS
$custom: #5d882d;
$custom-light: #8eab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d882d",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 88.352,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.12963,
    "h": 131.1
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#5D882D
secondary
#865FB2
accent
#4EDA90
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D882D

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

Preview Lab → · Contrast checker → · Palette generator →

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