#4C8A24#4C8A24

#4C8A24 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.148 H 135.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4C8A24
RGBrgb(76, 138, 36)
HSLhsl(96, 59%, 34%)
HSVhsv(96, 74%, 54%)
CMYKcmyk(44.9%, 0%, 73.9%, 45.9%)
CIE-LABlab(51.66, -38.12, 45.77)
CIE-LCHlch(51.66, 59.57, 129.79°)
OKLaboklab(57.05% -0.1062 0.1033)
OKLCHoklch(57.05% 0.148 135.8)
XYZxyz(12.3871, 19.8401, 4.8455)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A24 #62248A
analogous
#7F8A24 #4C8A24 #248A2F
triadic
#4C8A24 #244C8A #8A244C
tetradic
#4C8A24 #247F8A #62248A #8A2F24
square
#4C8A24 #247F8A #62248A #8A2F24
split-complementary
#4C8A24 #2F248A #8A247F
monochromatic
#17290B #315917 #4C8A24 #67BB31 #87D356

Accessibility & contrast

On white

4.23
#4C8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4C8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A24
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A24#FFFFFF#000000##000000
##4C8A241.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a24;
/* rgb */ color: rgb(76, 138, 36);
/* oklch */ color: oklch(57.0% 0.148 135.8);
Tailwind
colors: {
  custom: {
    50: '#84ad66',
    500: '#4c8a24',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a24;
$custom-light: #84ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a24",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 96.471,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57049,
    "c": 0.1481,
    "h": 135.8
  },
  "luminance": 0.19841
}

Semantic roles & 50–950 ramp

primary
#4C8A24
secondary
#9053B7
accent
#46E2A5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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