#5C821A#5C821A

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

Color values

HEX#5C821A
RGBrgb(92, 130, 26)
HSLhsl(82, 67%, 31%)
HSVhsv(82, 80%, 51%)
CMYKcmyk(29.2%, 0%, 80%, 49%)
CIE-LABlab(49.88, -29.12, 47.94)
CIE-LCHlch(49.88, 56.09, 121.27°)
OKLaboklab(55.81% -0.0836 0.1059)
OKLCHoklch(55.81% 0.135 128.3)
XYZxyz(12.5827, 18.3148, 3.8493)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C821A #401A82
analogous
#82741A #5C821A #28821A
triadic
#5C821A #1A5C82 #821A5C
tetradic
#5C821A #1A8274 #401A82 #821A28
square
#5C821A #1A8274 #401A82 #821A28
split-complementary
#5C821A #1A2882 #741A82
monochromatic
#141C06 #384F10 #5C821A #80B524 #A0D83E

Accessibility & contrast

On white

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

On black

4.66
#5C821A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C821A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C821A#FFFFFF#000000##000000
##5C821A1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c821a;
/* rgb */ color: rgb(92, 130, 26);
/* oklch */ color: oklch(55.8% 0.135 128.3);
Tailwind
colors: {
  custom: {
    50: '#8ea660',
    500: '#5c821a',
    950: '#000000',
  },
}
SCSS
$custom: #5c821a;
$custom-light: #8ea660;
$custom-dark: #000000;
JSON
{
  "hex": "#5c821a",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 81.923,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55807,
    "c": 0.1349,
    "h": 128.3
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#5C821A
secondary
#6C42B6
accent
#3EEA7D
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C821A

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

Preview Lab → · Contrast checker → · Palette generator →

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