#5D811E#5D811E

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

Color values

HEX#5D811E
RGBrgb(93, 129, 30)
HSLhsl(82, 62%, 31%)
HSVhsv(82, 77%, 51%)
CMYKcmyk(27.9%, 0%, 76.7%, 49.4%)
CIE-LABlab(49.64, -28.01, 46.35)
CIE-LCHlch(49.64, 54.15, 121.14°)
OKLaboklab(55.64% -0.0803 0.1032)
OKLCHoklch(55.64% 0.131 127.9)
XYZxyz(12.5988, 18.1211, 4.0620)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D811E #421E81
analogous
#81731E #5D811E #2B811E
triadic
#5D811E #1E5D81 #811E5D
tetradic
#5D811E #1E8173 #421E81 #811E2B
square
#5D811E #1E8173 #421E81 #811E2B
split-complementary
#5D811E #1E2B81 #731E81
monochromatic
#151E07 #394F12 #5D811E #81B32A #A0D446

Accessibility & contrast

On white

4.54
#5D811E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5D811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D811E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D811E#FFFFFF#000000##000000
##5D811E1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887809
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#617B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d811e;
/* rgb */ color: rgb(93, 129, 30);
/* oklch */ color: oklch(55.6% 0.131 127.9);
Tailwind
colors: {
  custom: {
    50: '#8ea562',
    500: '#5d811e',
    950: '#000000',
  },
}
SCSS
$custom: #5d811e;
$custom-light: #8ea562;
$custom-dark: #000000;
JSON
{
  "hex": "#5d811e",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 81.818,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55641,
    "c": 0.13076,
    "h": 127.9
  },
  "luminance": 0.18121
}

Semantic roles & 50–950 ramp

primary
#5D811E
secondary
#6E47B4
accent
#42E57E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D811E

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

Preview Lab → · Contrast checker → · Palette generator →

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