#5D882F#5D882F

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

Color values

HEX#5D882F
RGBrgb(93, 136, 47)
HSLhsl(89, 49%, 36%)
HSVhsv(89, 65%, 53%)
CMYKcmyk(31.6%, 0%, 65.4%, 46.7%)
CIE-LABlab(52.00, -30.09, 41.78)
CIE-LCHlch(52.00, 51.49, 125.76°)
OKLaboklab(57.6% -0.0845 0.0961)
OKLCHoklch(57.6% 0.128 131.3)
XYZxyz(13.8313, 20.1403, 5.8475)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D882F #5A2F88
analogous
#88862F #5D882F #30882F
triadic
#5D882F #2F5D88 #882F5D
tetradic
#5D882F #2F8886 #5A2F88 #882F30
square
#5D882F #2F8886 #5A2F88 #882F30
split-complementary
#5D882F #2F3088 #862F88
monochromatic
#1F2D10 #3E5B1F #5D882F #7CB53F #9ACA67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D882F#FFFFFF#000000##000000
##5D882F1.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)
#8E7E24
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#5F8275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d882f;
/* rgb */ color: rgb(93, 136, 47);
/* oklch */ color: oklch(57.6% 0.128 131.3);
Tailwind
colors: {
  custom: {
    50: '#8eab6c',
    500: '#5d882f',
    950: '#000000',
  },
}
SCSS
$custom: #5d882f;
$custom-light: #8eab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d882f",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 88.989,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.12802,
    "h": 131.3
  },
  "luminance": 0.20141
}

Semantic roles & 50–950 ramp

primary
#5D882F
secondary
#8861B1
accent
#50D892
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D882F

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

Preview Lab → · Contrast checker → · Palette generator →

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