#5D801C#5D801C

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

Color values

HEX#5D801C
RGBrgb(93, 128, 28)
HSLhsl(81, 64%, 31%)
HSVhsv(81, 78%, 50%)
CMYKcmyk(27.3%, 0%, 78.1%, 49.8%)
CIE-LABlab(49.31, -27.64, 46.75)
CIE-LCHlch(49.31, 54.31, 120.59°)
OKLaboklab(55.37% -0.0795 0.1037)
OKLCHoklch(55.37% 0.131 127.5)
XYZxyz(12.4430, 17.8491, 3.8880)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D801C #3F1C80
analogous
#80711C #5D801C #2B801C
triadic
#5D801C #1C5D80 #801C5D
tetradic
#5D801C #1C8071 #3F1C80 #801C2B
square
#5D801C #1C8071 #3F1C80 #801C2B
split-complementary
#5D801C #1C2B80 #711C80
monochromatic
#141C06 #394E11 #5D801C #81B227 #A1D541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D801C#FFFFFF#000000##FFFFFF
##5D801C1.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)
#877705
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#617A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d801c;
/* rgb */ color: rgb(93, 128, 28);
/* oklch */ color: oklch(55.4% 0.131 127.5);
Tailwind
colors: {
  custom: {
    50: '#8ea561',
    500: '#5d801c',
    950: '#000000',
  },
}
SCSS
$custom: #5d801c;
$custom-light: #8ea561;
$custom-dark: #000000;
JSON
{
  "hex": "#5d801c",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 81,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55369,
    "c": 0.13065,
    "h": 127.5
  },
  "luminance": 0.17849
}

Semantic roles & 50–950 ramp

primary
#5D801C
secondary
#6B44B3
accent
#41E77B
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D801C

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

Preview Lab → · Contrast checker → · Palette generator →

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