#4EA712#4EA712

#4EA712 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 64.8% C 0.190 H 137.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4EA712
RGBrgb(78, 167, 18)
HSLhsl(96, 81%, 36%)
HSVhsv(96, 89%, 65%)
CMYKcmyk(53.3%, 0%, 89.2%, 34.5%)
CIE-LABlab(61.05, -50.00, 59.68)
CIE-LCHlch(61.05, 77.86, 129.95°)
OKLaboklab(64.77% -0.1392 0.1299)
OKLCHoklch(64.77% 0.19 137)
XYZxyz(17.0693, 29.2995, 5.3280)
Luminance0.2930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA712 #6B12A7
analogous
#99A712 #4EA712 #12A721
triadic
#4EA712 #124EA7 #A7124E
tetradic
#4EA712 #1299A7 #6B12A7 #A72112
square
#4EA712 #1299A7 #6B12A7 #A72112
split-complementary
#4EA712 #2112A7 #A71299
monochromatic
#1A3906 #34700C #4EA712 #68DE18 #8AEB48

Accessibility & contrast

On white

3.06
#4EA712 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#4EA712 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4EA712
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EA712#FFFFFF#000000##000000
##4EA7121.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A29128
Tritanopia (blue-blind)
#48A18E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #4ea712;
/* rgb */ color: rgb(78, 167, 18);
/* oklch */ color: oklch(64.8% 0.190 137.0);
Tailwind
colors: {
  custom: {
    50: '#8ac263',
    500: '#4ea712',
    950: '#000000',
  },
}
SCSS
$custom: #4ea712;
$custom-light: #8ac263;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea712",
  "rgb": {
    "r": 78,
    "g": 167,
    "b": 18
  },
  "hsl": {
    "h": 95.839,
    "s": 80.541,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64769,
    "c": 0.19034,
    "h": 137
  },
  "luminance": 0.29301
}

Semantic roles & 50–950 ramp

primary
#4EA712
secondary
#9749CC
accent
#31F7A7
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #4EA712

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

Preview Lab → · Contrast checker → · Palette generator →

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