#5D801A#5D801A

#5D801A is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.4% C 0.132 H 127.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5D801A
RGBrgb(93, 128, 26)
HSLhsl(81, 66%, 30%)
HSVhsv(81, 80%, 50%)
CMYKcmyk(27.3%, 0%, 79.7%, 49.8%)
CIE-LABlab(49.30, -27.75, 47.42)
CIE-LCHlch(49.30, 54.94, 120.33°)
OKLaboklab(55.36% -0.0799 0.1048)
OKLCHoklch(55.36% 0.132 127.3)
XYZxyz(12.4199, 17.8398, 3.7662)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D801A #3D1A80
analogous
#80701A #5D801A #2A801A
triadic
#5D801A #1A5D80 #801A5D
tetradic
#5D801A #1A8070 #3D1A80 #801A2A
square
#5D801A #1A8070 #3D1A80 #801A2A
split-complementary
#5D801A #1A2A80 #701A80
monochromatic
#131A05 #384D10 #5D801A #82B324 #A2D83D

Accessibility & contrast

On white

4.60
#5D801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D801A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D801A#FFFFFF#000000##FFFFFF
##5D801A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d801a;
/* rgb */ color: rgb(93, 128, 26);
/* oklch */ color: oklch(55.4% 0.132 127.3);
Tailwind
colors: {
  custom: {
    50: '#8ea560',
    500: '#5d801a',
    950: '#000000',
  },
}
SCSS
$custom: #5d801a;
$custom-light: #8ea560;
$custom-dark: #000000;
JSON
{
  "hex": "#5d801a",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 80.588,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.13178,
    "h": 127.3
  },
  "luminance": 0.1784
}

Semantic roles & 50–950 ramp

primary
#5D801A
secondary
#6942B4
accent
#3FE979
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D801A

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

Preview Lab → · Contrast checker → · Palette generator →

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