#4C8B24#4C8B24

#4C8B24 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.149 H 135.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4C8B24
RGBrgb(76, 139, 36)
HSLhsl(97, 59%, 34%)
HSVhsv(97, 74%, 55%)
CMYKcmyk(45.3%, 0%, 74.1%, 45.5%)
CIE-LABlab(51.98, -38.55, 46.10)
CIE-LCHlch(51.98, 60.09, 129.90°)
OKLaboklab(57.32% -0.1073 0.1039)
OKLCHoklch(57.32% 0.149 135.9)
XYZxyz(12.5312, 20.1284, 4.8936)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B24 #63248B
analogous
#808B24 #4C8B24 #248B30
triadic
#4C8B24 #244C8B #8B244C
tetradic
#4C8B24 #24808B #63248B #8B3024
square
#4C8B24 #24808B #63248B #8B3024
split-complementary
#4C8B24 #30248B #8B2480
monochromatic
#172A0B #315A17 #4C8B24 #67BC31 #87D356

Accessibility & contrast

On white

4.18
#4C8B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4C8B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B24
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B24#FFFFFF#000000##000000
##4C8B241.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F12
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#4A8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b24;
/* rgb */ color: rgb(76, 139, 36);
/* oklch */ color: oklch(57.3% 0.149 135.9);
Tailwind
colors: {
  custom: {
    50: '#84ad66',
    500: '#4c8b24',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b24;
$custom-light: #84ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b24",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 96.699,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57316,
    "c": 0.1494,
    "h": 135.9
  },
  "luminance": 0.20129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C8B24

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

Preview Lab → · Contrast checker → · Palette generator →

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