#5C822F#5C822F

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

Color values

HEX#5C822F
RGBrgb(92, 130, 47)
HSLhsl(87, 47%, 35%)
HSVhsv(87, 64%, 51%)
CMYKcmyk(29.2%, 0%, 63.8%, 49%)
CIE-LABlab(50.03, -27.61, 39.61)
CIE-LCHlch(50.03, 48.28, 124.88°)
OKLaboklab(55.98% -0.0776 0.0916)
OKLCHoklch(55.98% 0.12 130.3)
XYZxyz(12.9092, 18.4455, 5.5690)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C822F #552F82
analogous
#827F2F #5C822F #32822F
triadic
#5C822F #2F5C82 #822F5C
tetradic
#5C822F #2F827F #552F82 #822F32
square
#5C822F #2F827F #552F82 #822F32
split-complementary
#5C822F #2F3282 #7F2F82
monochromatic
#1C280E #3C551F #5C822F #7CAF3F #9AC764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C822F#FFFFFF#000000##000000
##5C822F1.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)
#887925
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#5E7D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c822f;
/* rgb */ color: rgb(92, 130, 47);
/* oklch */ color: oklch(56.0% 0.120 130.3);
Tailwind
colors: {
  custom: {
    50: '#8da66b',
    500: '#5c822f',
    950: '#000000',
  },
}
SCSS
$custom: #5c822f;
$custom-light: #8da66b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c822f",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 87.47,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.12005,
    "h": 130.3
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#5C822F
secondary
#835FAE
accent
#51D78E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C822F

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

Preview Lab → · Contrast checker → · Palette generator →

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