#5D821C#5D821C

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

Color values

HEX#5D821C
RGBrgb(93, 130, 28)
HSLhsl(82, 65%, 31%)
HSVhsv(82, 78%, 51%)
CMYKcmyk(28.5%, 0%, 78.5%, 49%)
CIE-LABlab(49.95, -28.60, 47.35)
CIE-LCHlch(49.95, 55.32, 121.13°)
OKLaboklab(55.89% -0.0821 0.105)
OKLCHoklch(55.89% 0.133 128)
XYZxyz(12.7064, 18.3760, 3.9758)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D821C #411C82
analogous
#82741C #5D821C #2A821C
triadic
#5D821C #1C5D82 #821C5D
tetradic
#5D821C #1C8274 #411C82 #821C2A
square
#5D821C #1C8274 #411C82 #821C2A
split-complementary
#5D821C #1C2A82 #741C82
monochromatic
#151D06 #395011 #5D821C #81B427 #A1D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D821C#FFFFFF#000000##000000
##5D821C1.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)
#897803
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#607C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d821c;
/* rgb */ color: rgb(93, 130, 28);
/* oklch */ color: oklch(55.9% 0.133 128.0);
Tailwind
colors: {
  custom: {
    50: '#8fa661',
    500: '#5d821c',
    950: '#000000',
  },
}
SCSS
$custom: #5d821c;
$custom-light: #8fa661;
$custom-dark: #000000;
JSON
{
  "hex": "#5d821c",
  "rgb": {
    "r": 93,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 81.765,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.13326,
    "h": 128
  },
  "luminance": 0.18376
}

Semantic roles & 50–950 ramp

primary
#5D821C
secondary
#6D44B5
accent
#40E87D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D821C

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

Preview Lab → · Contrast checker → · Palette generator →

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