#5C822A#5C822A

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

Color values

HEX#5C822A
RGBrgb(92, 130, 42)
HSLhsl(86, 51%, 34%)
HSVhsv(86, 68%, 51%)
CMYKcmyk(29.2%, 0%, 67.7%, 49%)
CIE-LABlab(49.99, -28.04, 41.83)
CIE-LCHlch(49.99, 50.36, 123.84°)
OKLaboklab(55.93% -0.0793 0.0956)
OKLCHoklch(55.93% 0.124 129.7)
XYZxyz(12.8141, 18.4074, 5.0679)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C822A #502A82
analogous
#827C2A #5C822A #30822A
triadic
#5C822A #2A5C82 #822A5C
tetradic
#5C822A #2A827C #502A82 #822A30
square
#5C822A #2A827C #502A82 #822A30
split-complementary
#5C822A #2A3082 #7C2A82
monochromatic
#1B250C #3B541B #5C822A #7DB039 #9BCA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C822A#FFFFFF#000000##000000
##5C822A1.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)
#88791E
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#5E7C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c822a;
/* rgb */ color: rgb(92, 130, 42);
/* oklch */ color: oklch(55.9% 0.124 129.7);
Tailwind
colors: {
  custom: {
    50: '#8da668',
    500: '#5c822a',
    950: '#000000',
  },
}
SCSS
$custom: #5c822a;
$custom-light: #8da668;
$custom-dark: #000000;
JSON
{
  "hex": "#5c822a",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 85.909,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.1242,
    "h": 129.7
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#5C822A
secondary
#7E58B0
accent
#4DDB8A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C822A

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

Preview Lab → · Contrast checker → · Palette generator →

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