#5C881D#5C881D

#5C881D is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.4% C 0.141 H 130.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5C881D
RGBrgb(92, 136, 29)
HSLhsl(85, 65%, 32%)
HSVhsv(85, 79%, 53%)
CMYKcmyk(32.4%, 0%, 78.7%, 46.7%)
CIE-LABlab(51.81, -31.78, 48.75)
CIE-LCHlch(51.81, 58.19, 123.10°)
OKLaboklab(57.38% -0.0906 0.1081)
OKLCHoklch(57.38% 0.141 130)
XYZxyz(13.4395, 19.9719, 4.3090)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C881D #491D88
analogous
#887F1D #5C881D #27881D
triadic
#5C881D #1D5C88 #881D5C
tetradic
#5C881D #1D887F #491D88 #881D27
square
#5C881D #1D887F #491D88 #881D27
split-complementary
#5C881D #1D2788 #7F1D88
monochromatic
#182307 #3A5612 #5C881D #7EBA28 #9DD848

Accessibility & contrast

On white

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

On black

4.99
#5C881D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C881D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C881D#FFFFFF#000000##000000
##5C881D1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E02
Deuteranopia (green-blind)
#897A28
Tritanopia (blue-blind)
#5F8274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c881d;
/* rgb */ color: rgb(92, 136, 29);
/* oklch */ color: oklch(57.4% 0.141 130.0);
Tailwind
colors: {
  custom: {
    50: '#8eab62',
    500: '#5c881d',
    950: '#000000',
  },
}
SCSS
$custom: #5c881d;
$custom-light: #8eab62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c881d",
  "rgb": {
    "r": 92,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 84.673,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.14103,
    "h": 130
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

primary
#5C881D
secondary
#7647BA
accent
#40E885
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C881D

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

Preview Lab → · Contrast checker → · Palette generator →

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