#4EB31A#4EB31A

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

Color values

HEX#4EB31A
RGBrgb(78, 179, 26)
HSLhsl(100, 75%, 40%)
HSVhsv(100, 85%, 70%)
CMYKcmyk(56.4%, 0%, 85.5%, 29.8%)
CIE-LABlab(64.91, -54.11, 61.33)
CIE-LCHlch(64.91, 81.79, 131.43°)
OKLaboklab(67.97% -0.1498 0.1344)
OKLCHoklch(67.97% 0.201 138.1)
XYZxyz(19.4477, 33.9329, 6.5019)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EB31A #7F1AB3
analogous
#9AB31A #4EB31A #1AB333
triadic
#4EB31A #1A4EB3 #B31A4E
tetradic
#4EB31A #1A9AB3 #7F1AB3 #B3331A
square
#4EB31A #1A9AB3 #7F1AB3 #B3331A
split-complementary
#4EB31A #331AB3 #B31A9A
monochromatic
#1F480A #377E12 #4EB31A #68E02A #8EE860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4EB31A#FFFFFF#000000##000000
##4EB31A1.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)
#AC9A2F
Tritanopia (blue-blind)
#45AC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4eb31a;
/* rgb */ color: rgb(78, 179, 26);
/* oklch */ color: oklch(68.0% 0.201 138.1);
Tailwind
colors: {
  custom: {
    50: '#8bcb67',
    500: '#4eb31a',
    950: '#000000',
  },
}
SCSS
$custom: #4eb31a;
$custom-light: #8bcb67;
$custom-dark: #000000;
JSON
{
  "hex": "#4eb31a",
  "rgb": {
    "r": 78,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 99.608,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67966,
    "c": 0.20126,
    "h": 138.1
  },
  "luminance": 0.33934
}

Semantic roles & 50–950 ramp

primary
#4EB31A
secondary
#A65DCC
accent
#37F1B2
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4EB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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