#5D841D#5D841D

#5D841D is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.4% C 0.135 H 128.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5D841D
RGBrgb(93, 132, 29)
HSLhsl(83, 64%, 32%)
HSVhsv(83, 78%, 52%)
CMYKcmyk(29.5%, 0%, 78%, 48.2%)
CIE-LABlab(50.59, -29.50, 47.62)
CIE-LCHlch(50.59, 56.01, 121.78°)
OKLaboklab(56.41% -0.0845 0.1057)
OKLCHoklch(56.41% 0.135 128.6)
XYZxyz(12.9872, 18.9181, 4.1295)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D841D #441D84
analogous
#84781D #5D841D #2A841D
triadic
#5D841D #1D5D84 #841D5D
tetradic
#5D841D #1D8478 #441D84 #841D2A
square
#5D841D #1D8478 #441D84 #841D2A
split-complementary
#5D841D #1D2A84 #781D84
monochromatic
#162007 #3A5212 #5D841D #80B628 #9FD645

Accessibility & contrast

On white

4.39
#5D841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5D841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D841D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D841D#FFFFFF#000000##000000
##5D841D1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A05
Deuteranopia (green-blind)
#857827
Tritanopia (blue-blind)
#607E71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d841d;
/* rgb */ color: rgb(93, 132, 29);
/* oklch */ color: oklch(56.4% 0.135 128.6);
Tailwind
colors: {
  custom: {
    50: '#8fa862',
    500: '#5d841d',
    950: '#000000',
  },
}
SCSS
$custom: #5d841d;
$custom-light: #8fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#5d841d",
  "rgb": {
    "r": 93,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 82.718,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5641,
    "c": 0.13528,
    "h": 128.6
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#5D841D
secondary
#7146B7
accent
#41E780
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D841D

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

Preview Lab → · Contrast checker → · Palette generator →

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