#5D811F#5D811F

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

Color values

HEX#5D811F
RGBrgb(93, 129, 31)
HSLhsl(82, 61%, 31%)
HSVhsv(82, 76%, 51%)
CMYKcmyk(27.9%, 0%, 76%, 49.4%)
CIE-LABlab(49.65, -27.94, 45.99)
CIE-LCHlch(49.65, 53.81, 121.29°)
OKLaboklab(55.65% -0.0801 0.1026)
OKLCHoklch(55.65% 0.13 128)
XYZxyz(12.6118, 18.1263, 4.1303)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D811F #431F81
analogous
#81741F #5D811F #2C811F
triadic
#5D811F #1F5D81 #811F5D
tetradic
#5D811F #1F8174 #431F81 #811F2C
square
#5D811F #1F8174 #431F81 #811F2C
split-complementary
#5D811F #1F2C81 #741F81
monochromatic
#161E07 #395013 #5D811F #81B22B #A0D347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D811F#FFFFFF#000000##000000
##5D811F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#607B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d811f;
/* rgb */ color: rgb(93, 129, 31);
/* oklch */ color: oklch(55.6% 0.130 128.0);
Tailwind
colors: {
  custom: {
    50: '#8ea562',
    500: '#5d811f',
    950: '#000000',
  },
}
SCSS
$custom: #5d811f;
$custom-light: #8ea562;
$custom-dark: #000000;
JSON
{
  "hex": "#5d811f",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 82.041,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55648,
    "c": 0.13015,
    "h": 128
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#5D811F
secondary
#7048B4
accent
#43E47F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D811F

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

Preview Lab → · Contrast checker → · Palette generator →

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