#5D801D#5D801D

#5D801D is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.4% C 0.130 H 127.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5D801D
RGBrgb(93, 128, 29)
HSLhsl(81, 63%, 31%)
HSVhsv(81, 77%, 50%)
CMYKcmyk(27.3%, 0%, 77.3%, 49.8%)
CIE-LABlab(49.32, -27.58, 46.40)
CIE-LCHlch(49.32, 53.98, 120.73°)
OKLaboklab(55.38% -0.0792 0.1031)
OKLCHoklch(55.38% 0.13 127.5)
XYZxyz(12.4552, 17.8539, 3.9521)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D801D #401D80
analogous
#80711D #5D801D #2B801D
triadic
#5D801D #1D5D80 #801D5D
tetradic
#5D801D #1D8071 #401D80 #801D2B
square
#5D801D #1D8071 #401D80 #801D2B
split-complementary
#5D801D #1D2B80 #711D80
monochromatic
#141C06 #394E12 #5D801D #81B228 #A1D443

Accessibility & contrast

On white

4.59
#5D801D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5D801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D801D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D801D#FFFFFF#000000##FFFFFF
##5D801D1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877707
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#617A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d801d;
/* rgb */ color: rgb(93, 128, 29);
/* oklch */ color: oklch(55.4% 0.130 127.5);
Tailwind
colors: {
  custom: {
    50: '#8ea561',
    500: '#5d801d',
    950: '#000000',
  },
}
SCSS
$custom: #5d801d;
$custom-light: #8ea561;
$custom-dark: #000000;
JSON
{
  "hex": "#5d801d",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 81.212,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55376,
    "c": 0.13006,
    "h": 127.5
  },
  "luminance": 0.17854
}

Semantic roles & 50–950 ramp

primary
#5D801D
secondary
#6C45B3
accent
#42E67C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D801D

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

Preview Lab → · Contrast checker → · Palette generator →

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