#5E811D#5E811D

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

Color values

HEX#5E811D
RGBrgb(94, 129, 29)
HSLhsl(81, 63%, 31%)
HSVhsv(81, 78%, 51%)
CMYKcmyk(27.1%, 0%, 77.5%, 49.4%)
CIE-LABlab(49.70, -27.65, 46.79)
CIE-LCHlch(49.70, 54.35, 120.58°)
OKLaboklab(55.7% -0.0795 0.1039)
OKLCHoklch(55.7% 0.131 127.4)
XYZxyz(12.6882, 18.1686, 4.0006)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E811D #401D81
analogous
#81721D #5E811D #2C811D
triadic
#5E811D #1D5E81 #811D5E
tetradic
#5E811D #1D8172 #401D81 #811D2C
square
#5E811D #1D8172 #401D81 #811D2C
split-complementary
#5E811D #1D2C81 #721D81
monochromatic
#151D07 #3A4F12 #5E811D #82B328 #A2D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E811D#FFFFFF#000000##000000
##5E811D1.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)
#887806
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#627B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5e811d;
/* rgb */ color: rgb(94, 129, 29);
/* oklch */ color: oklch(55.7% 0.131 127.4);
Tailwind
colors: {
  custom: {
    50: '#8fa561',
    500: '#5e811d',
    950: '#000000',
  },
}
SCSS
$custom: #5e811d;
$custom-light: #8fa561;
$custom-dark: #000000;
JSON
{
  "hex": "#5e811d",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 81,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.13084,
    "h": 127.4
  },
  "luminance": 0.18169
}

Semantic roles & 50–950 ramp

primary
#5E811D
secondary
#6C46B4
accent
#41E67B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E811D

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

Preview Lab → · Contrast checker → · Palette generator →

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