#5C811E#5C811E

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

Color values

HEX#5C811E
RGBrgb(92, 129, 30)
HSLhsl(82, 62%, 31%)
HSVhsv(82, 77%, 51%)
CMYKcmyk(28.7%, 0%, 76.7%, 49.4%)
CIE-LABlab(49.58, -28.42, 46.27)
CIE-LCHlch(49.58, 54.30, 121.56°)
OKLaboklab(55.57% -0.0814 0.103)
OKLCHoklch(55.57% 0.131 128.3)
XYZxyz(12.4982, 18.0693, 4.0573)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C811E #431E81
analogous
#81741E #5C811E #2A811E
triadic
#5C811E #1E5C81 #811E5C
tetradic
#5C811E #1E8174 #431E81 #811E2A
square
#5C811E #1E8174 #431E81 #811E2A
split-complementary
#5C811E #1E2A81 #741E81
monochromatic
#151E07 #394F12 #5C811E #7FB32A #9FD446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C811E#FFFFFF#000000##000000
##5C811E1.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)
#887809
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#5F7B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c811e;
/* rgb */ color: rgb(92, 129, 30);
/* oklch */ color: oklch(55.6% 0.131 128.3);
Tailwind
colors: {
  custom: {
    50: '#8ea562',
    500: '#5c811e',
    950: '#000000',
  },
}
SCSS
$custom: #5c811e;
$custom-light: #8ea562;
$custom-dark: #000000;
JSON
{
  "hex": "#5c811e",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 82.424,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.13129,
    "h": 128.3
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#5C811E
secondary
#7047B4
accent
#42E57F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F05
muted
#7D7F7A

Preview Lab

Preview with #5C811E

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

Preview Lab → · Contrast checker → · Palette generator →

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