#5D821A#5D821A

#5D821A is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.9% C 0.134 H 127.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5D821A
RGBrgb(93, 130, 26)
HSLhsl(81, 67%, 31%)
HSVhsv(81, 80%, 51%)
CMYKcmyk(28.5%, 0%, 80%, 49%)
CIE-LABlab(49.94, -28.71, 48.02)
CIE-LCHlch(49.94, 55.95, 120.87°)
OKLaboklab(55.87% -0.0825 0.106)
OKLCHoklch(55.87% 0.134 127.9)
XYZxyz(12.6833, 18.3667, 3.8540)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D821A #3F1A82
analogous
#82731A #5D821A #29821A
triadic
#5D821A #1A5D82 #821A5D
tetradic
#5D821A #1A8273 #3F1A82 #821A29
square
#5D821A #1A8273 #3F1A82 #821A29
split-complementary
#5D821A #1A2982 #731A82
monochromatic
#141C06 #394F10 #5D821A #81B524 #A1D83E

Accessibility & contrast

On white

4.49
#5D821A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#5D821A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D821A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D821A#FFFFFF#000000##000000
##5D821A1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#617C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d821a;
/* rgb */ color: rgb(93, 130, 26);
/* oklch */ color: oklch(55.9% 0.134 127.9);
Tailwind
colors: {
  custom: {
    50: '#8fa660',
    500: '#5d821a',
    950: '#000000',
  },
}
SCSS
$custom: #5d821a;
$custom-light: #8fa660;
$custom-dark: #000000;
JSON
{
  "hex": "#5d821a",
  "rgb": {
    "r": 93,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 81.346,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.13437,
    "h": 127.9
  },
  "luminance": 0.18367
}

Semantic roles & 50–950 ramp

primary
#5D821A
secondary
#6B42B6
accent
#3EEA7B
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D821A

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

Preview Lab → · Contrast checker → · Palette generator →

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