#5C822C#5C822C

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

Color values

HEX#5C822C
RGBrgb(92, 130, 44)
HSLhsl(87, 49%, 34%)
HSVhsv(87, 66%, 51%)
CMYKcmyk(29.2%, 0%, 66.2%, 49%)
CIE-LABlab(50.00, -27.87, 40.95)
CIE-LCHlch(50.00, 49.54, 124.24°)
OKLaboklab(55.95% -0.0787 0.094)
OKLCHoklch(55.95% 0.123 129.9)
XYZxyz(12.8508, 18.4221, 5.2611)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C822C #522C82
analogous
#827D2C #5C822C #31822C
triadic
#5C822C #2C5C82 #822C5C
tetradic
#5C822C #2C827D #522C82 #822C31
square
#5C822C #2C827D #522C82 #822C31
split-complementary
#5C822C #2C3182 #7D2C82
monochromatic
#1B270D #3C541D #5C822C #7CB03B #9AC95F

Accessibility & contrast

On white

4.48
#5C822C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C822C#FFFFFF#000000##000000
##5C822C1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887921
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#5E7C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c822c;
/* rgb */ color: rgb(92, 130, 44);
/* oklch */ color: oklch(56.0% 0.123 129.9);
Tailwind
colors: {
  custom: {
    50: '#8da669',
    500: '#5c822c',
    950: '#000000',
  },
}
SCSS
$custom: #5c822c;
$custom-light: #8da669;
$custom-dark: #000000;
JSON
{
  "hex": "#5c822c",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 86.512,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55952,
    "c": 0.12258,
    "h": 129.9
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#5C822C
secondary
#805BAF
accent
#4FD98C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C822C

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

Preview Lab → · Contrast checker → · Palette generator →

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