#5C822B#5C822B

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

Color values

HEX#5C822B
RGBrgb(92, 130, 43)
HSLhsl(86, 50%, 34%)
HSVhsv(86, 67%, 51%)
CMYKcmyk(29.2%, 0%, 66.9%, 49%)
CIE-LABlab(50.00, -27.96, 41.39)
CIE-LCHlch(50.00, 49.95, 124.04°)
OKLaboklab(55.94% -0.079 0.0948)
OKLCHoklch(55.94% 0.123 129.8)
XYZxyz(12.8322, 18.4146, 5.1633)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C822B #512B82
analogous
#827D2B #5C822B #31822B
triadic
#5C822B #2B5C82 #822B5C
tetradic
#5C822B #2B827D #512B82 #822B31
square
#5C822B #2B827D #512B82 #822B31
split-complementary
#5C822B #2B3182 #7D2B82
monochromatic
#1B260D #3B541C #5C822B #7DB03A #9BCA5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C822B#FFFFFF#000000##000000
##5C822B1.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)
#887920
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#5E7C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c822b;
/* rgb */ color: rgb(92, 130, 43);
/* oklch */ color: oklch(55.9% 0.123 129.8);
Tailwind
colors: {
  custom: {
    50: '#8da669',
    500: '#5c822b',
    950: '#000000',
  },
}
SCSS
$custom: #5c822b;
$custom-light: #8da669;
$custom-dark: #000000;
JSON
{
  "hex": "#5c822b",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 86.207,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.1234,
    "h": 129.8
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#5C822B
secondary
#7F59B0
accent
#4EDA8B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C822B

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

Preview Lab → · Contrast checker → · Palette generator →

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