#4C8F27#4C8F27

#4C8F27 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.153 H 136.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4C8F27
RGBrgb(76, 143, 39)
HSLhsl(99, 57%, 36%)
HSVhsv(99, 73%, 56%)
CMYKcmyk(46.9%, 0%, 72.7%, 43.9%)
CIE-LABlab(53.31, -40.01, 46.28)
CIE-LCHlch(53.31, 61.17, 130.84°)
OKLaboklab(58.41% -0.111 0.1048)
OKLCHoklch(58.41% 0.153 136.7)
XYZxyz(13.1688, 21.3271, 5.3417)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F27 #6A278F
analogous
#808F27 #4C8F27 #278F36
triadic
#4C8F27 #274C8F #8F274C
tetradic
#4C8F27 #27808F #6A278F #8F3627
square
#4C8F27 #27808F #6A278F #8F3627
split-complementary
#4C8F27 #36278F #8F2780
monochromatic
#192F0D #325F1A #4C8F27 #66BF34 #87D35D

Accessibility & contrast

On white

3.99
#4C8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4C8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F27
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F27#FFFFFF#000000##000000
##4C8F271.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948316
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#498A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f27;
/* rgb */ color: rgb(76, 143, 39);
/* oklch */ color: oklch(58.4% 0.153 136.7);
Tailwind
colors: {
  custom: {
    50: '#84b068',
    500: '#4c8f27',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f27;
$custom-light: #84b068;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f27",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 98.654,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58409,
    "c": 0.15265,
    "h": 136.7
  },
  "luminance": 0.21328
}

Semantic roles & 50–950 ramp

primary
#4C8F27
secondary
#975AB8
accent
#47E0AA
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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