#5C811D#5C811D

#5C811D is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.132 H 128.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5C811D
RGBrgb(92, 129, 29)
HSLhsl(82, 63%, 31%)
HSVhsv(82, 78%, 51%)
CMYKcmyk(28.7%, 0%, 77.5%, 49.4%)
CIE-LABlab(49.57, -28.47, 46.62)
CIE-LCHlch(49.57, 54.63, 121.41°)
OKLaboklab(55.57% -0.0816 0.1036)
OKLCHoklch(55.57% 0.132 128.2)
XYZxyz(12.4857, 18.0642, 3.9911)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C811D #421D81
analogous
#81741D #5C811D #2A811D
triadic
#5C811D #1D5C81 #811D5C
tetradic
#5C811D #1D8174 #421D81 #811D2A
square
#5C811D #1D8174 #421D81 #811D2A
split-complementary
#5C811D #1D2A81 #741D81
monochromatic
#151D07 #384F12 #5C811D #80B328 #9FD544

Accessibility & contrast

On white

4.55
#5C811D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5C811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C811D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C811D#FFFFFF#000000##000000
##5C811D1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887706
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#5F7B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c811d;
/* rgb */ color: rgb(92, 129, 29);
/* oklch */ color: oklch(55.6% 0.132 128.2);
Tailwind
colors: {
  custom: {
    50: '#8ea561',
    500: '#5c811d',
    950: '#000000',
  },
}
SCSS
$custom: #5c811d;
$custom-light: #8ea561;
$custom-dark: #000000;
JSON
{
  "hex": "#5c811d",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 82.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55567,
    "c": 0.1319,
    "h": 128.2
  },
  "luminance": 0.18065
}

Semantic roles & 50–950 ramp

primary
#5C811D
secondary
#6F46B4
accent
#41E67E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F05
muted
#7D7F7A

Preview Lab

Preview with #5C811D

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

Preview Lab → · Contrast checker → · Palette generator →

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