#5D882C#5D882C

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

Color values

HEX#5D882C
RGBrgb(93, 136, 44)
HSLhsl(88, 51%, 35%)
HSVhsv(88, 68%, 53%)
CMYKcmyk(31.6%, 0%, 67.6%, 46.7%)
CIE-LABlab(51.97, -30.35, 43.08)
CIE-LCHlch(51.97, 52.70, 125.16°)
OKLaboklab(57.57% -0.0855 0.0985)
OKLCHoklch(57.57% 0.13 131)
XYZxyz(13.7729, 20.1169, 5.5397)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D882C #572C88
analogous
#88852C #5D882C #2F882C
triadic
#5D882C #2C5D88 #882C5D
tetradic
#5D882C #2C8885 #572C88 #882C2F
square
#5D882C #2C8885 #572C88 #882C2F
split-complementary
#5D882C #2C2F88 #852C88
monochromatic
#1E2C0E #3D5A1D #5D882C #7DB63B #9BCC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D882C#FFFFFF#000000##000000
##5D882C1.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)
#8E7E20
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#5F8275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d882c;
/* rgb */ color: rgb(93, 136, 44);
/* oklch */ color: oklch(57.6% 0.130 131.0);
Tailwind
colors: {
  custom: {
    50: '#8eab6a',
    500: '#5d882c',
    950: '#000000',
  },
}
SCSS
$custom: #5d882c;
$custom-light: #8eab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d882c",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 88.043,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57565,
    "c": 0.13042,
    "h": 131
  },
  "luminance": 0.20117
}

Semantic roles & 50–950 ramp

primary
#5D882C
secondary
#855DB3
accent
#4DDB8F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D882C

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

Preview Lab → · Contrast checker → · Palette generator →

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