#4EB315#4EB315

#4EB315 is a light, highly saturated yellow-green. Relative luminance 0.339; OKLCH L 67.9% C 0.203 H 137.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4EB315
RGBrgb(78, 179, 21)
HSLhsl(98, 79%, 39%)
HSVhsv(98, 88%, 70%)
CMYKcmyk(56.4%, 0%, 88.3%, 29.8%)
CIE-LABlab(64.89, -54.30, 62.39)
CIE-LCHlch(64.89, 82.71, 131.04°)
OKLaboklab(67.95% -0.1505 0.136)
OKLCHoklch(67.95% 0.203 137.9)
XYZxyz(19.3966, 33.9124, 6.2329)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EB315 #7A15B3
analogous
#9DB315 #4EB315 #15B32B
triadic
#4EB315 #154EB3 #B3154E
tetradic
#4EB315 #159DB3 #7A15B3 #B32B15
square
#4EB315 #159DB3 #7A15B3 #B32B15
split-complementary
#4EB315 #2B15B3 #B3159D
monochromatic
#1E4508 #367C0F #4EB315 #67E520 #8DEB57

Accessibility & contrast

On white

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

On black

7.78
#4EB315 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EB315
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EB315#FFFFFF#000000##000000
##4EB3151.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4eb315;
/* rgb */ color: rgb(78, 179, 21);
/* oklch */ color: oklch(67.9% 0.203 137.9);
Tailwind
colors: {
  custom: {
    50: '#8bcb66',
    500: '#4eb315',
    950: '#000000',
  },
}
SCSS
$custom: #4eb315;
$custom-light: #8bcb66;
$custom-dark: #000000;
JSON
{
  "hex": "#4eb315",
  "rgb": {
    "r": 78,
    "g": 179,
    "b": 21
  },
  "hsl": {
    "h": 98.354,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67948,
    "c": 0.20287,
    "h": 137.9
  },
  "luminance": 0.33914
}

Semantic roles & 50–950 ramp

primary
#4EB315
secondary
#A356CE
accent
#32F5AF
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4EB315

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

Preview Lab → · Contrast checker → · Palette generator →

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