#4C8E1A#4C8E1A

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

Color values

HEX#4C8E1A
RGBrgb(76, 142, 26)
HSLhsl(94, 69%, 33%)
HSVhsv(94, 82%, 56%)
CMYKcmyk(46.5%, 0%, 81.7%, 44.3%)
CIE-LABlab(52.90, -40.44, 50.45)
CIE-LCHlch(52.90, 64.66, 128.72°)
OKLaboklab(58.05% -0.1131 0.1115)
OKLCHoklch(58.05% 0.159 135.4)
XYZxyz(12.8396, 20.9563, 4.3455)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E1A #5C1A8E
analogous
#868E1A #4C8E1A #1A8E22
triadic
#4C8E1A #1A4C8E #8E1A4C
tetradic
#4C8E1A #1A868E #5C1A8E #8E221A
square
#4C8E1A #1A868E #5C1A8E #8E221A
split-complementary
#4C8E1A #221A8E #8E1A86
monochromatic
#152707 #305A11 #4C8E1A #68C223 #87DD45

Accessibility & contrast

On white

4.05
#4C8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4C8E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E1A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E1A#FFFFFF#000000##000000
##4C8E1A1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e1a;
/* rgb */ color: rgb(76, 142, 26);
/* oklch */ color: oklch(58.1% 0.159 135.4);
Tailwind
colors: {
  custom: {
    50: '#85af61',
    500: '#4c8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e1a;
$custom-light: #85af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e1a",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 94.138,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.15881,
    "h": 135.4
  },
  "luminance": 0.20957
}

Semantic roles & 50–950 ramp

primary
#4C8E1A
secondary
#8A45BE
accent
#3CECA0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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