#5C812E#5C812E

#5C812E is a mid, moderate yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.119 H 129.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5C812E
RGBrgb(92, 129, 46)
HSLhsl(87, 47%, 34%)
HSVhsv(87, 64%, 51%)
CMYKcmyk(28.7%, 0%, 64.3%, 49.4%)
CIE-LABlab(49.70, -27.21, 39.71)
CIE-LCHlch(49.70, 48.14, 124.42°)
OKLaboklab(55.72% -0.0767 0.0917)
OKLCHoklch(55.72% 0.119 129.9)
XYZxyz(12.7569, 18.1727, 5.4198)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C812E #532E81
analogous
#817D2E #5C812E #33812E
triadic
#5C812E #2E5C81 #812E5C
tetradic
#5C812E #2E817D #532E81 #812E33
square
#5C812E #2E817D #532E81 #812E33
split-complementary
#5C812E #2E3381 #7D2E81
monochromatic
#1C270E #3C541E #5C812E #7CAE3E #9AC762

Accessibility & contrast

On white

4.53
#5C812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5C812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C812E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C812E#FFFFFF#000000##000000
##5C812E1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#827534
Tritanopia (blue-blind)
#5E7C70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c812e;
/* rgb */ color: rgb(92, 129, 46);
/* oklch */ color: oklch(55.7% 0.119 129.9);
Tailwind
colors: {
  custom: {
    50: '#8da56b',
    500: '#5c812e',
    950: '#000000',
  },
}
SCSS
$custom: #5c812e;
$custom-light: #8da56b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c812e",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 86.747,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55715,
    "c": 0.11948,
    "h": 129.9
  },
  "luminance": 0.18173
}

Semantic roles & 50–950 ramp

primary
#5C812E
secondary
#815DAE
accent
#51D78D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C812E

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

Preview Lab → · Contrast checker → · Palette generator →

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