#4EB31C#4EB31C

#4EB31C is a light, highly saturated green. Relative luminance 0.339; OKLCH L 68.0% C 0.201 H 138.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4EB31C
RGBrgb(78, 179, 28)
HSLhsl(100, 73%, 41%)
HSVhsv(100, 84%, 70%)
CMYKcmyk(56.4%, 0%, 84.4%, 29.8%)
CIE-LABlab(64.92, -54.03, 60.85)
CIE-LCHlch(64.92, 81.38, 131.60°)
OKLaboklab(67.97% -0.1495 0.1336)
OKLCHoklch(67.97% 0.201 138.2)
XYZxyz(19.4709, 33.9421, 6.6238)
Luminance0.3394 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EB31C #811CB3
analogous
#9AB31C #4EB31C #1CB335
triadic
#4EB31C #1C4EB3 #B31C4E
tetradic
#4EB31C #1C9AB3 #811CB3 #B3351C
square
#4EB31C #1C9AB3 #811CB3 #B3351C
split-complementary
#4EB31C #351CB3 #B31C9A
monochromatic
#20490B #377E14 #4EB31C #68DE2E #8EE763

Accessibility & contrast

On white

2.70
#4EB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#4EB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EB31C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EB31C#FFFFFF#000000##000000
##4EB31C1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#45AD98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4eb31c;
/* rgb */ color: rgb(78, 179, 28);
/* oklch */ color: oklch(68.0% 0.201 138.2);
Tailwind
colors: {
  custom: {
    50: '#8bcb68',
    500: '#4eb31c',
    950: '#000000',
  },
}
SCSS
$custom: #4eb31c;
$custom-light: #8bcb68;
$custom-dark: #000000;
JSON
{
  "hex": "#4eb31c",
  "rgb": {
    "r": 78,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 100.132,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67975,
    "c": 0.20054,
    "h": 138.2
  },
  "luminance": 0.33944
}

Semantic roles & 50–950 ramp

primary
#4EB31C
secondary
#A85FCB
accent
#38F0B3
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4EB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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