#5D882B#5D882B

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

Color values

HEX#5D882B
RGBrgb(93, 136, 43)
HSLhsl(88, 52%, 35%)
HSVhsv(88, 68%, 53%)
CMYKcmyk(31.6%, 0%, 68.4%, 46.7%)
CIE-LABlab(51.96, -30.43, 43.50)
CIE-LCHlch(51.96, 53.09, 124.97°)
OKLaboklab(57.56% -0.0858 0.0992)
OKLCHoklch(57.56% 0.131 130.9)
XYZxyz(13.7543, 20.1095, 5.4419)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D882B #562B88
analogous
#88842B #5D882B #2F882B
triadic
#5D882B #2B5D88 #882B5D
tetradic
#5D882B #2B8884 #562B88 #882B2F
square
#5D882B #2B8884 #562B88 #882B2F
split-complementary
#5D882B #2B2F88 #842B88
monochromatic
#1D2B0E #3D5A1C #5D882B #7DB63A #9BCD61

Accessibility & contrast

On white

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

On black

5.02
#5D882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D882B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D882B#FFFFFF#000000##000000
##5D882B1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d882b;
/* rgb */ color: rgb(93, 136, 43);
/* oklch */ color: oklch(57.6% 0.131 130.9);
Tailwind
colors: {
  custom: {
    50: '#8eab69',
    500: '#5d882b',
    950: '#000000',
  },
}
SCSS
$custom: #5d882b;
$custom-light: #8eab69;
$custom-dark: #000000;
JSON
{
  "hex": "#5d882b",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 87.742,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.13119,
    "h": 130.9
  },
  "luminance": 0.2011
}

Semantic roles & 50–950 ramp

primary
#5D882B
secondary
#845CB3
accent
#4CDB8F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D882B

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

Preview Lab → · Contrast checker → · Palette generator →

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