#4C8A28#4C8A28

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

Color values

HEX#4C8A28
RGBrgb(76, 138, 40)
HSLhsl(98, 55%, 35%)
HSVhsv(98, 71%, 54%)
CMYKcmyk(44.9%, 0%, 71%, 45.9%)
CIE-LABlab(51.69, -37.81, 44.20)
CIE-LCHlch(51.69, 58.17, 130.54°)
OKLaboklab(57.08% -0.105 0.1006)
OKLCHoklch(57.08% 0.145 136.2)
XYZxyz(12.4516, 19.8659, 5.1855)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A28 #66288A
analogous
#7D8A28 #4C8A28 #288A35
triadic
#4C8A28 #284C8A #8A284C
tetradic
#4C8A28 #287D8A #66288A #8A3528
square
#4C8A28 #287D8A #66288A #8A3528
split-complementary
#4C8A28 #35288A #8A287D
monochromatic
#182B0C #325B1A #4C8A28 #66B936 #87D05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8A28#FFFFFF#000000##000000
##4C8A281.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)
#8F7E19
Deuteranopia (green-blind)
#877931
Tritanopia (blue-blind)
#498576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a28;
/* rgb */ color: rgb(76, 138, 40);
/* oklch */ color: oklch(57.1% 0.145 136.2);
Tailwind
colors: {
  custom: {
    50: '#83ad68',
    500: '#4c8a28',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a28;
$custom-light: #83ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a28",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 97.959,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.14539,
    "h": 136.2
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#4C8A28
secondary
#9359B5
accent
#49DEA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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