#4C8622#4C8622

#4C8622 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.144 H 135.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4C8622
RGBrgb(76, 134, 34)
HSLhsl(95, 60%, 33%)
HSVhsv(95, 75%, 53%)
CMYKcmyk(43.3%, 0%, 74.6%, 47.5%)
CIE-LABlab(50.34, -36.54, 45.22)
CIE-LCHlch(50.34, 58.14, 128.94°)
OKLaboklab(55.96% -0.102 0.1018)
OKLCHoklch(55.96% 0.144 135.1)
XYZxyz(11.7941, 18.7015, 4.5014)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8622 #5C2286
analogous
#7E8622 #4C8622 #22862A
triadic
#4C8622 #224C86 #86224C
tetradic
#4C8622 #227E86 #5C2286 #862A22
square
#4C8622 #227E86 #5C2286 #862A22
split-complementary
#4C8622 #2A2286 #86227E
monochromatic
#152409 #305516 #4C8622 #68B72E #87D350

Accessibility & contrast

On white

4.43
#4C8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4C8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8622
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8622#FFFFFF#000000##000000
##4C86221.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#4B8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c8622;
/* rgb */ color: rgb(76, 134, 34);
/* oklch */ color: oklch(56.0% 0.144 135.1);
Tailwind
colors: {
  custom: {
    50: '#83aa64',
    500: '#4c8622',
    950: '#000000',
  },
}
SCSS
$custom: #4c8622;
$custom-light: #83aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8622",
  "rgb": {
    "r": 76,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 94.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.14414,
    "h": 135.1
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#4C8622
secondary
#8A4EB6
accent
#45E3A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8622

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

Preview Lab → · Contrast checker → · Palette generator →

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