#4C822A#4C822A

#4C822A is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.133 H 135.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4C822A
RGBrgb(76, 130, 42)
HSLhsl(97, 51%, 34%)
HSVhsv(97, 68%, 51%)
CMYKcmyk(41.5%, 0%, 67.7%, 49%)
CIE-LABlab(49.09, -34.12, 40.60)
CIE-LCHlch(49.09, 53.04, 130.04°)
OKLaboklab(54.96% -0.0949 0.0933)
OKLCHoklch(54.96% 0.133 135.5)
XYZxyz(11.3808, 17.6683, 5.0007)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C822A #602A82
analogous
#78822A #4C822A #2A8234
triadic
#4C822A #2A4C82 #822A4C
tetradic
#4C822A #2A7882 #602A82 #82342A
square
#4C822A #2A7882 #602A82 #82342A
split-complementary
#4C822A #342A82 #822A78
monochromatic
#16250C #31541B #4C822A #67B039 #87CA5C

Accessibility & contrast

On white

4.63
#4C822A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4C822A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C822A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C822A#FFFFFF#000000##FFFFFF
##4C822A1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771E
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#4B7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c822a;
/* rgb */ color: rgb(76, 130, 42);
/* oklch */ color: oklch(55.0% 0.133 135.5);
Tailwind
colors: {
  custom: {
    50: '#82a768',
    500: '#4c822a',
    950: '#000000',
  },
}
SCSS
$custom: #4c822a;
$custom-light: #82a768;
$custom-dark: #000000;
JSON
{
  "hex": "#4c822a",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 96.818,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54964,
    "c": 0.13302,
    "h": 135.5
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#4C822A
secondary
#8E58B0
accent
#4DDBA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C822A

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

Preview Lab → · Contrast checker → · Palette generator →

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