#4C8D24#4C8D24

#4C8D24 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.152 H 136.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4C8D24
RGBrgb(76, 141, 36)
HSLhsl(97, 59%, 35%)
HSVhsv(97, 74%, 55%)
CMYKcmyk(46.1%, 0%, 74.5%, 44.7%)
CIE-LABlab(52.63, -39.39, 46.76)
CIE-LCHlch(52.63, 61.14, 130.11°)
OKLaboklab(57.85% -0.1096 0.1053)
OKLCHoklch(57.85% 0.152 136.1)
XYZxyz(12.8235, 20.7128, 4.9910)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D24 #65248D
analogous
#818D24 #4C8D24 #248D31
triadic
#4C8D24 #244C8D #8D244C
tetradic
#4C8D24 #24818D #65248D #8D3124
square
#4C8D24 #24818D #65248D #8D3124
split-complementary
#4C8D24 #31248D #8D2481
monochromatic
#172B0B #325C18 #4C8D24 #66BE30 #87D457

Accessibility & contrast

On white

4.08
#4C8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4C8D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D24
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D24#FFFFFF#000000##000000
##4C8D241.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928111
Deuteranopia (green-blind)
#897C2E
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d24;
/* rgb */ color: rgb(76, 141, 36);
/* oklch */ color: oklch(57.9% 0.152 136.1);
Tailwind
colors: {
  custom: {
    50: '#84af66',
    500: '#4c8d24',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d24;
$custom-light: #84af66;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d24",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 97.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.15199,
    "h": 136.1
  },
  "luminance": 0.20714
}

Semantic roles & 50–950 ramp

primary
#4C8D24
secondary
#9254B8
accent
#45E3A7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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