#5D881E#5D881E

#5D881E is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.5% C 0.140 H 129.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5D881E
RGBrgb(93, 136, 30)
HSLhsl(84, 64%, 33%)
HSVhsv(84, 78%, 53%)
CMYKcmyk(31.6%, 0%, 77.9%, 46.7%)
CIE-LABlab(51.87, -31.33, 48.49)
CIE-LCHlch(51.87, 57.73, 122.86°)
OKLaboklab(57.45% -0.0893 0.1077)
OKLCHoklch(57.45% 0.14 129.7)
XYZxyz(13.5527, 20.0288, 4.3799)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D881E #491E88
analogous
#887E1E #5D881E #28881E
triadic
#5D881E #1E5D88 #881E5D
tetradic
#5D881E #1E887E #491E88 #881E28
square
#5D881E #1E887E #491E88 #881E28
split-complementary
#5D881E #1E2888 #7E1E88
monochromatic
#182408 #3B5613 #5D881E #7FBA29 #9ED749

Accessibility & contrast

On white

4.20
#5D881E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5D881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D881E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D881E#FFFFFF#000000##000000
##5D881E1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E05
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#608274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d881e;
/* rgb */ color: rgb(93, 136, 30);
/* oklch */ color: oklch(57.5% 0.140 129.7);
Tailwind
colors: {
  custom: {
    50: '#8fab63',
    500: '#5d881e',
    950: '#000000',
  },
}
SCSS
$custom: #5d881e;
$custom-light: #8fab63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d881e",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 84.34,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57452,
    "c": 0.13992,
    "h": 129.7
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#5D881E
secondary
#7649B9
accent
#41E784
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D881E

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

Preview Lab → · Contrast checker → · Palette generator →

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