#4C8522#4C8522

#4C8522 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.7% C 0.143 H 134.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4C8522
RGBrgb(76, 133, 34)
HSLhsl(95, 59%, 33%)
HSVhsv(95, 74%, 52%)
CMYKcmyk(42.9%, 0%, 74.4%, 47.8%)
CIE-LABlab(50.01, -36.11, 44.89)
CIE-LCHlch(50.01, 57.61, 128.81°)
OKLaboklab(55.69% -0.1009 0.1011)
OKLCHoklch(55.69% 0.143 134.9)
XYZxyz(11.6565, 18.4264, 4.4555)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8522 #5B2285
analogous
#7E8522 #4C8522 #228529
triadic
#4C8522 #224C85 #85224C
tetradic
#4C8522 #227E85 #5B2285 #852922
square
#4C8522 #227E85 #5B2285 #852922
split-complementary
#4C8522 #292285 #85227E
monochromatic
#142409 #305416 #4C8522 #68B62E #87D24F

Accessibility & contrast

On white

4.48
#4C8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4C8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8522
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8522#FFFFFF#000000##000000
##4C85221.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)
#8A7A10
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#4B8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c8522;
/* rgb */ color: rgb(76, 133, 34);
/* oklch */ color: oklch(55.7% 0.143 134.9);
Tailwind
colors: {
  custom: {
    50: '#83a964',
    500: '#4c8522',
    950: '#000000',
  },
}
SCSS
$custom: #4c8522;
$custom-light: #83a964;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8522",
  "rgb": {
    "r": 76,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 94.545,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55695,
    "c": 0.14281,
    "h": 134.9
  },
  "luminance": 0.18427
}

Semantic roles & 50–950 ramp

primary
#4C8522
secondary
#894DB6
accent
#45E2A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8522

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

Preview Lab → · Contrast checker → · Palette generator →

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