#5D802C#5D802C

#5D802C is a mid, moderate yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.119 H 128.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5D802C
RGBrgb(93, 128, 44)
HSLhsl(85, 49%, 34%)
HSVhsv(85, 66%, 50%)
CMYKcmyk(27.3%, 0%, 65.6%, 49.8%)
CIE-LABlab(49.43, -26.50, 40.35)
CIE-LCHlch(49.43, 48.28, 123.29°)
OKLaboklab(55.5% -0.0749 0.0927)
OKLCHoklch(55.5% 0.119 128.9)
XYZxyz(12.6879, 17.9471, 5.1780)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D802C #4F2C80
analogous
#80792C #5D802C #33802C
triadic
#5D802C #2C5D80 #802C5D
tetradic
#5D802C #2C8079 #4F2C80 #802C33
square
#5D802C #2C8079 #4F2C80 #802C33
split-complementary
#5D802C #2C3380 #792C80
monochromatic
#1B250D #3C521C #5D802C #7EAE3C #9CC85F

Accessibility & contrast

On white

4.58
#5D802C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5D802C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D802C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D802C#FFFFFF#000000##000000
##5D802C1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#607A6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d802c;
/* rgb */ color: rgb(93, 128, 44);
/* oklch */ color: oklch(55.5% 0.119 128.9);
Tailwind
colors: {
  custom: {
    50: '#8ea569',
    500: '#5d802c',
    950: '#000000',
  },
}
SCSS
$custom: #5d802c;
$custom-light: #8ea569;
$custom-dark: #000000;
JSON
{
  "hex": "#5d802c",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 85,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55504,
    "c": 0.11923,
    "h": 128.9
  },
  "luminance": 0.17947
}

Semantic roles & 50–950 ramp

primary
#5D802C
secondary
#7D5AAE
accent
#4FD888
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5D802C

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

Preview Lab → · Contrast checker → · Palette generator →

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