#4C8E2A#4C8E2A

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

Color values

HEX#4C8E2A
RGBrgb(76, 142, 42)
HSLhsl(100, 54%, 36%)
HSVhsv(100, 70%, 56%)
CMYKcmyk(46.5%, 0%, 70.4%, 44.3%)
CIE-LABlab(53.00, -39.34, 44.75)
CIE-LCHlch(53.00, 59.59, 131.32°)
OKLaboklab(58.17% -0.109 0.102)
OKLCHoklch(58.17% 0.149 136.9)
XYZxyz(13.0710, 21.0488, 5.5641)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E2A #6C2A8E
analogous
#7E8E2A #4C8E2A #2A8E3A
triadic
#4C8E2A #2A4C8E #8E2A4C
tetradic
#4C8E2A #2A7E8E #6C2A8E #8E3A2A
square
#4C8E2A #2A7E8E #6C2A8E #8E3A2A
split-complementary
#4C8E2A #3A2A8E #8E2A7E
monochromatic
#19300E #335F1C #4C8E2A #65BD38 #87D162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8E2A#FFFFFF#000000##000000
##4C8E2A1.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)
#93821B
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#49897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8e2a;
/* rgb */ color: rgb(76, 142, 42);
/* oklch */ color: oklch(58.2% 0.149 136.9);
Tailwind
colors: {
  custom: {
    50: '#84af69',
    500: '#4c8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e2a;
$custom-light: #84af69;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e2a",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 99.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.14928,
    "h": 136.9
  },
  "luminance": 0.2105
}

Semantic roles & 50–950 ramp

primary
#4C8E2A
secondary
#985DB6
accent
#4ADEAC
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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