#5C822D#5C822D

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

Color values

HEX#5C822D
RGBrgb(92, 130, 45)
HSLhsl(87, 49%, 34%)
HSVhsv(87, 65%, 51%)
CMYKcmyk(29.2%, 0%, 65.4%, 49%)
CIE-LABlab(50.01, -27.79, 40.51)
CIE-LCHlch(50.01, 49.13, 124.45°)
OKLaboklab(55.96% -0.0783 0.0932)
OKLCHoklch(55.96% 0.122 130)
XYZxyz(12.8698, 18.4297, 5.3613)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C822D #532D82
analogous
#827E2D #5C822D #32822D
triadic
#5C822D #2D5C82 #822D5C
tetradic
#5C822D #2D827E #532D82 #822D32
square
#5C822D #2D827E #532D82 #822D32
split-complementary
#5C822D #2D3282 #7E2D82
monochromatic
#1C270E #3C551D #5C822D #7CAF3D #9AC861

Accessibility & contrast

On white

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

On black

4.69
#5C822D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C822D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C822D#FFFFFF#000000##000000
##5C822D1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c822d;
/* rgb */ color: rgb(92, 130, 45);
/* oklch */ color: oklch(56.0% 0.122 130.0);
Tailwind
colors: {
  custom: {
    50: '#8da66a',
    500: '#5c822d',
    950: '#000000',
  },
}
SCSS
$custom: #5c822d;
$custom-light: #8da66a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c822d",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 86.824,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55962,
    "c": 0.12175,
    "h": 130
  },
  "luminance": 0.1843
}

Semantic roles & 50–950 ramp

primary
#5C822D
secondary
#815CAF
accent
#50D88D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C822D

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

Preview Lab → · Contrast checker → · Palette generator →

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