#4C822E#4C822E

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

Color values

HEX#4C822E
RGBrgb(76, 130, 46)
HSLhsl(99, 48%, 35%)
HSVhsv(99, 65%, 51%)
CMYKcmyk(41.5%, 0%, 64.6%, 49%)
CIE-LABlab(49.13, -33.74, 38.82)
CIE-LCHlch(49.13, 51.44, 130.99°)
OKLaboklab(55.01% -0.0935 0.09)
OKLCHoklch(55.01% 0.13 136.1)
XYZxyz(11.4560, 17.6984, 5.3967)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C822E #642E82
analogous
#76822E #4C822E #2E823A
triadic
#4C822E #2E4C82 #822E4C
tetradic
#4C822E #2E7682 #642E82 #823A2E
square
#4C822E #2E7682 #642E82 #823A2E
split-complementary
#4C822E #3A2E82 #822E76
monochromatic
#17280E #32551E #4C822E #66AF3E #87C863

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C822E#FFFFFF#000000##FFFFFF
##4C822E1.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)
#877824
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#4A7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c822e;
/* rgb */ color: rgb(76, 130, 46);
/* oklch */ color: oklch(55.0% 0.130 136.1);
Tailwind
colors: {
  custom: {
    50: '#82a76a',
    500: '#4c822e',
    950: '#000000',
  },
}
SCSS
$custom: #4c822e;
$custom-light: #82a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c822e",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 46
  },
  "hsl": {
    "h": 98.571,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55006,
    "c": 0.12976,
    "h": 136.1
  },
  "luminance": 0.17699
}

Semantic roles & 50–950 ramp

primary
#4C822E
secondary
#915DAE
accent
#50D7A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4C822E

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

Preview Lab → · Contrast checker → · Palette generator →

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