#4C822B#4C822B

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

Color values

HEX#4C822B
RGBrgb(76, 130, 43)
HSLhsl(97, 50%, 34%)
HSVhsv(97, 67%, 51%)
CMYKcmyk(41.5%, 0%, 66.9%, 49%)
CIE-LABlab(49.10, -34.03, 40.17)
CIE-LCHlch(49.10, 52.64, 130.27°)
OKLaboklab(54.97% -0.0945 0.0925)
OKLCHoklch(54.97% 0.132 135.6)
XYZxyz(11.3989, 17.6756, 5.0961)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C822B #612B82
analogous
#78822B #4C822B #2B8236
triadic
#4C822B #2B4C82 #822B4C
tetradic
#4C822B #2B7882 #612B82 #82362B
square
#4C822B #2B7882 #612B82 #82362B
split-complementary
#4C822B #362B82 #822B78
monochromatic
#16260D #31541C #4C822B #67B03A #87CA5E

Accessibility & contrast

On white

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

On black

4.54
#4C822B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C822B#FFFFFF#000000##FFFFFF
##4C822B1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877820
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#4A7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c822b;
/* rgb */ color: rgb(76, 130, 43);
/* oklch */ color: oklch(55.0% 0.132 135.6);
Tailwind
colors: {
  custom: {
    50: '#82a769',
    500: '#4c822b',
    950: '#000000',
  },
}
SCSS
$custom: #4c822b;
$custom-light: #82a769;
$custom-dark: #000000;
JSON
{
  "hex": "#4c822b",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 97.241,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.13222,
    "h": 135.6
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#4C822B
secondary
#8F59B0
accent
#4EDAA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C822B

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

Preview Lab → · Contrast checker → · Palette generator →

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