#5D821E#5D821E

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

Color values

HEX#5D821E
RGBrgb(93, 130, 30)
HSLhsl(82, 63%, 31%)
HSVhsv(82, 77%, 51%)
CMYKcmyk(28.5%, 0%, 76.9%, 49%)
CIE-LABlab(49.96, -28.49, 46.66)
CIE-LCHlch(49.96, 54.67, 121.41°)
OKLaboklab(55.9% -0.0816 0.1038)
OKLCHoklch(55.9% 0.132 128.2)
XYZxyz(12.7312, 18.3859, 4.1061)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D821E #431E82
analogous
#82751E #5D821E #2B821E
triadic
#5D821E #1E5D82 #821E5D
tetradic
#5D821E #1E8275 #431E82 #821E2B
square
#5D821E #1E8275 #431E82 #821E2B
split-complementary
#5D821E #1E2B82 #751E82
monochromatic
#161F07 #395013 #5D821E #81B429 #A0D446

Accessibility & contrast

On white

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

On black

4.68
#5D821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D821E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D821E#FFFFFF#000000##000000
##5D821E1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897808
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#607C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d821e;
/* rgb */ color: rgb(93, 130, 30);
/* oklch */ color: oklch(55.9% 0.132 128.2);
Tailwind
colors: {
  custom: {
    50: '#8ea662',
    500: '#5d821e',
    950: '#000000',
  },
}
SCSS
$custom: #5d821e;
$custom-light: #8ea662;
$custom-dark: #000000;
JSON
{
  "hex": "#5d821e",
  "rgb": {
    "r": 93,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 82.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.13208,
    "h": 128.2
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#5D821E
secondary
#7047B5
accent
#42E67F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D821E

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

Preview Lab → · Contrast checker → · Palette generator →

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