#5D831D#5D831D

#5D831D is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.2% C 0.134 H 128.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5D831D
RGBrgb(93, 131, 29)
HSLhsl(82, 64%, 31%)
HSVhsv(82, 78%, 51%)
CMYKcmyk(29%, 0%, 77.9%, 48.6%)
CIE-LABlab(50.27, -29.02, 47.31)
CIE-LCHlch(50.27, 55.51, 121.53°)
OKLaboklab(56.15% -0.0832 0.1051)
OKLCHoklch(56.15% 0.134 128.4)
XYZxyz(12.8523, 18.6481, 4.0845)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D831D #431D83
analogous
#83761D #5D831D #2A831D
triadic
#5D831D #1D5D83 #831D5D
tetradic
#5D831D #1D8376 #431D83 #831D2A
square
#5D831D #1D8376 #431D83 #831D2A
split-complementary
#5D831D #1D2A83 #761D83
monochromatic
#161F07 #395112 #5D831D #81B528 #A0D645

Accessibility & contrast

On white

4.44
#5D831D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5D831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D831D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D831D#FFFFFF#000000##000000
##5D831D1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7905
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#607D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d831d;
/* rgb */ color: rgb(93, 131, 29);
/* oklch */ color: oklch(56.2% 0.134 128.4);
Tailwind
colors: {
  custom: {
    50: '#8fa761',
    500: '#5d831d',
    950: '#000000',
  },
}
SCSS
$custom: #5d831d;
$custom-light: #8fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#5d831d",
  "rgb": {
    "r": 93,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 82.353,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56151,
    "c": 0.13399,
    "h": 128.4
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#5D831D
secondary
#7046B6
accent
#41E77F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D831D

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

Preview Lab → · Contrast checker → · Palette generator →

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