#4EA12D#4EA12D

#4EA12D is a light, vivid green. Relative luminance 0.273; OKLCH L 63.3% C 0.171 H 138.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4EA12D
RGBrgb(78, 161, 45)
HSLhsl(103, 56%, 40%)
HSVhsv(103, 72%, 63%)
CMYKcmyk(51.6%, 0%, 72%, 36.9%)
CIE-LABlab(59.25, -46.22, 50.04)
CIE-LCHlch(59.25, 68.12, 132.72°)
OKLaboklab(63.33% -0.1276 0.1134)
OKLCHoklch(63.33% 0.171 138.4)
XYZxyz(16.3598, 27.2977, 6.8890)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA12D #802DA1
analogous
#88A12D #4EA12D #2DA146
triadic
#4EA12D #2D4EA1 #A12D4E
tetradic
#4EA12D #2D88A1 #802DA1 #A1462D
square
#4EA12D #2D88A1 #802DA1 #A1462D
split-complementary
#4EA12D #462DA1 #A12D88
monochromatic
#204112 #377120 #4EA12D #68CA41 #8ED771

Accessibility & contrast

On white

3.25
#4EA12D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#4EA12D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4EA12D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EA12D#FFFFFF#000000##000000
##4EA12D1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931A
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#479B8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4ea12d;
/* rgb */ color: rgb(78, 161, 45);
/* oklch */ color: oklch(63.3% 0.171 138.4);
Tailwind
colors: {
  custom: {
    50: '#88bd6d',
    500: '#4ea12d',
    950: '#000000',
  },
}
SCSS
$custom: #4ea12d;
$custom-light: #88bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea12d",
  "rgb": {
    "r": 78,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 102.931,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63331,
    "c": 0.1707,
    "h": 138.4
  },
  "luminance": 0.27299
}

Semantic roles & 50–950 ramp

primary
#4EA12D
secondary
#A76BBF
accent
#48E0B5
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4EA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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