#4C8E27#4C8E27

#4C8E27 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.151 H 136.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4C8E27
RGBrgb(76, 142, 39)
HSLhsl(98, 57%, 35%)
HSVhsv(98, 73%, 56%)
CMYKcmyk(46.5%, 0%, 72.5%, 44.3%)
CIE-LABlab(52.98, -39.59, 45.94)
CIE-LCHlch(52.98, 60.65, 130.75°)
OKLaboklab(58.14% -0.1099 0.1041)
OKLCHoklch(58.14% 0.151 136.6)
XYZxyz(13.0193, 21.0282, 5.2919)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E27 #69278E
analogous
#7F8E27 #4C8E27 #278E36
triadic
#4C8E27 #274C8E #8E274C
tetradic
#4C8E27 #277F8E #69278E #8E3627
square
#4C8E27 #277F8E #69278E #8E3627
split-complementary
#4C8E27 #36278E #8E277F
monochromatic
#192E0D #325E1A #4C8E27 #66BE34 #87D25D

Accessibility & contrast

On white

4.03
#4C8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4C8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E27
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E27#FFFFFF#000000##000000
##4C8E271.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938216
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#49897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e27;
/* rgb */ color: rgb(76, 142, 39);
/* oklch */ color: oklch(58.1% 0.151 136.6);
Tailwind
colors: {
  custom: {
    50: '#84af68',
    500: '#4c8e27',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e27;
$custom-light: #84af68;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e27",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 98.447,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.15135,
    "h": 136.6
  },
  "luminance": 0.21029
}

Semantic roles & 50–950 ramp

primary
#4C8E27
secondary
#9659B8
accent
#48E0A9
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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