#5E812E#5E812E

#5E812E is a mid, moderate yellow-green. Relative luminance 0.183; OKLCH L 55.9% C 0.118 H 129.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5E812E
RGBrgb(94, 129, 46)
HSLhsl(85, 47%, 34%)
HSVhsv(85, 64%, 51%)
CMYKcmyk(27.1%, 0%, 64.3%, 49.4%)
CIE-LABlab(49.83, -26.41, 39.89)
CIE-LCHlch(49.83, 47.84, 123.50°)
OKLaboklab(55.85% -0.0746 0.092)
OKLCHoklch(55.85% 0.118 129)
XYZxyz(12.9594, 18.2772, 5.4293)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E812E #512E81
analogous
#817B2E #5E812E #35812E
triadic
#5E812E #2E5E81 #812E5E
tetradic
#5E812E #2E817B #512E81 #812E35
square
#5E812E #2E817B #512E81 #812E35
split-complementary
#5E812E #2E3581 #7B2E81
monochromatic
#1C270E #3D541E #5E812E #7FAE3E #9DC762

Accessibility & contrast

On white

4.51
#5E812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5E812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E812E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E812E#FFFFFF#000000##000000
##5E812E1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e812e;
/* rgb */ color: rgb(94, 129, 46);
/* oklch */ color: oklch(55.9% 0.118 129.0);
Tailwind
colors: {
  custom: {
    50: '#8ea56b',
    500: '#5e812e',
    950: '#000000',
  },
}
SCSS
$custom: #5e812e;
$custom-light: #8ea56b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e812e",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 85.301,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.11842,
    "h": 129
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#5E812E
secondary
#7F5DAE
accent
#51D789
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F07
muted
#7D7F7A

Preview Lab

Preview with #5E812E

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

Preview Lab → · Contrast checker → · Palette generator →

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