#5C821D#5C821D

#5C821D is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.8% C 0.133 H 128.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5C821D
RGBrgb(92, 130, 29)
HSLhsl(83, 64%, 31%)
HSVhsv(83, 78%, 51%)
CMYKcmyk(29.2%, 0%, 77.7%, 49%)
CIE-LABlab(49.89, -28.95, 46.93)
CIE-LCHlch(49.89, 55.14, 121.67°)
OKLaboklab(55.83% -0.0829 0.1043)
OKLCHoklch(55.83% 0.133 128.5)
XYZxyz(12.6180, 18.3290, 4.0352)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C821D #431D82
analogous
#82751D #5C821D #29821D
triadic
#5C821D #1D5C82 #821D5C
tetradic
#5C821D #1D8275 #431D82 #821D29
square
#5C821D #1D8275 #431D82 #821D29
split-complementary
#5C821D #1D2982 #751D82
monochromatic
#151E07 #395012 #5C821D #7FB428 #9FD544

Accessibility & contrast

On white

4.50
#5C821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C821D#FFFFFF#000000##000000
##5C821D1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897806
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#5F7C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c821d;
/* rgb */ color: rgb(92, 130, 29);
/* oklch */ color: oklch(55.8% 0.133 128.5);
Tailwind
colors: {
  custom: {
    50: '#8ea661',
    500: '#5c821d',
    950: '#000000',
  },
}
SCSS
$custom: #5c821d;
$custom-light: #8ea661;
$custom-dark: #000000;
JSON
{
  "hex": "#5c821d",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 82.574,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.13321,
    "h": 128.5
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#5C821D
secondary
#7046B5
accent
#41E77F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C821D

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

Preview Lab → · Contrast checker → · Palette generator →

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