#5D801F#5D801F

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

Color values

HEX#5D801F
RGBrgb(93, 128, 31)
HSLhsl(82, 61%, 31%)
HSVhsv(82, 76%, 50%)
CMYKcmyk(27.3%, 0%, 75.8%, 49.8%)
CIE-LABlab(49.33, -27.46, 45.68)
CIE-LCHlch(49.33, 53.30, 121.01°)
OKLaboklab(55.39% -0.0787 0.102)
OKLCHoklch(55.39% 0.129 127.7)
XYZxyz(12.4807, 17.8642, 4.0866)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D801F #421F80
analogous
#80721F #5D801F #2D801F
triadic
#5D801F #1F5D80 #801F5D
tetradic
#5D801F #1F8072 #421F80 #801F2D
square
#5D801F #1F8072 #421F80 #801F2D
split-complementary
#5D801F #1F2D80 #721F80
monochromatic
#151D07 #394F13 #5D801F #81B12B #A0D247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D801F#FFFFFF#000000##FFFFFF
##5D801F1.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)
#87770C
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#617A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d801f;
/* rgb */ color: rgb(93, 128, 31);
/* oklch */ color: oklch(55.4% 0.129 127.7);
Tailwind
colors: {
  custom: {
    50: '#8ea562',
    500: '#5d801f',
    950: '#000000',
  },
}
SCSS
$custom: #5d801f;
$custom-light: #8ea562;
$custom-dark: #000000;
JSON
{
  "hex": "#5d801f",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 81.649,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5539,
    "c": 0.12882,
    "h": 127.7
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#5D801F
secondary
#6E48B3
accent
#44E47E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D801F

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

Preview Lab → · Contrast checker → · Palette generator →

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