#5D812E#5D812E

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

Color values

HEX#5D812E
RGBrgb(93, 129, 46)
HSLhsl(86, 47%, 34%)
HSVhsv(86, 64%, 51%)
CMYKcmyk(27.9%, 0%, 64.3%, 49.4%)
CIE-LABlab(49.77, -26.81, 39.80)
CIE-LCHlch(49.77, 47.99, 123.96°)
OKLaboklab(55.78% -0.0756 0.0918)
OKLCHoklch(55.78% 0.119 129.5)
XYZxyz(12.8575, 18.2246, 5.4245)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D812E #522E81
analogous
#817C2E #5D812E #34812E
triadic
#5D812E #2E5D81 #812E5D
tetradic
#5D812E #2E817C #522E81 #812E34
square
#5D812E #2E817C #522E81 #812E34
split-complementary
#5D812E #2E3481 #7C2E81
monochromatic
#1C270E #3C541E #5D812E #7EAE3E #9BC762

Accessibility & contrast

On white

4.52
#5D812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5D812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D812E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D812E#FFFFFF#000000##000000
##5D812E1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#607B70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d812e;
/* rgb */ color: rgb(93, 129, 46);
/* oklch */ color: oklch(55.8% 0.119 129.5);
Tailwind
colors: {
  custom: {
    50: '#8ea56b',
    500: '#5d812e',
    950: '#000000',
  },
}
SCSS
$custom: #5d812e;
$custom-light: #8ea56b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d812e",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 86.024,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55782,
    "c": 0.11895,
    "h": 129.5
  },
  "luminance": 0.18225
}

Semantic roles & 50–950 ramp

primary
#5D812E
secondary
#805DAE
accent
#51D78B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5D812E

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

Preview Lab → · Contrast checker → · Palette generator →

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