#4C8A27#4C8A27

#4C8A27 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.146 H 136.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4C8A27
RGBrgb(76, 138, 39)
HSLhsl(98, 56%, 35%)
HSVhsv(98, 72%, 54%)
CMYKcmyk(44.9%, 0%, 71.7%, 45.9%)
CIE-LABlab(51.68, -37.89, 44.61)
CIE-LCHlch(51.68, 58.52, 130.34°)
OKLaboklab(57.07% -0.1053 0.1013)
OKLCHoklch(57.07% 0.146 136.1)
XYZxyz(12.4349, 19.8592, 5.0970)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A27 #65278A
analogous
#7D8A27 #4C8A27 #278A34
triadic
#4C8A27 #274C8A #8A274C
tetradic
#4C8A27 #277D8A #65278A #8A3427
square
#4C8A27 #277D8A #65278A #8A3427
split-complementary
#4C8A27 #34278A #8A277D
monochromatic
#172B0C #325A1A #4C8A27 #66BA34 #87D15B

Accessibility & contrast

On white

4.22
#4C8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8A27#FFFFFF#000000##000000
##4C8A271.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#877930
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a27;
/* rgb */ color: rgb(76, 138, 39);
/* oklch */ color: oklch(57.1% 0.146 136.1);
Tailwind
colors: {
  custom: {
    50: '#84ad67',
    500: '#4c8a27',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a27;
$custom-light: #84ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a27",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 97.576,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57074,
    "c": 0.14609,
    "h": 136.1
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#4C8A27
secondary
#9257B6
accent
#49DFA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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