#4EAF31#4EAF31

#4EAF31 is a light, vivid green. Relative luminance 0.325; OKLCH L 67.1% C 0.185 H 139.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4EAF31
RGBrgb(78, 175, 49)
HSLhsl(106, 56%, 44%)
HSVhsv(106, 72%, 69%)
CMYKcmyk(55.4%, 0%, 72%, 31.4%)
CIE-LABlab(63.75, -51.28, 53.13)
CIE-LCHlch(63.75, 73.84, 133.99°)
OKLaboklab(67.05% -0.141 0.1204)
OKLCHoklch(67.05% 0.185 139.5)
XYZxyz(19.0254, 32.4998, 8.1757)
Luminance0.3250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EAF31 #9231AF
analogous
#8DAF31 #4EAF31 #31AF53
triadic
#4EAF31 #314EAF #AF314E
tetradic
#4EAF31 #318DAF #9231AF #AF5331
square
#4EAF31 #318DAF #9231AF #AF5331
split-complementary
#4EAF31 #5331AF #AF318D
monochromatic
#234F16 #397F24 #4EAF31 #6CCE4F #94DB7F

Accessibility & contrast

On white

2.80
#4EAF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#4EAF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EAF31
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EAF31#FFFFFF#000000##000000
##4EAF311.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1C
Deuteranopia (green-blind)
#A8973D
Tritanopia (blue-blind)
#44A996
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #4eaf31;
/* rgb */ color: rgb(78, 175, 49);
/* oklch */ color: oklch(67.1% 0.185 139.5);
Tailwind
colors: {
  custom: {
    50: '#8ac871',
    500: '#4eaf31',
    950: '#000000',
  },
}
SCSS
$custom: #4eaf31;
$custom-light: #8ac871;
$custom-dark: #000000;
JSON
{
  "hex": "#4eaf31",
  "rgb": {
    "r": 78,
    "g": 175,
    "b": 49
  },
  "hsl": {
    "h": 106.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67051,
    "c": 0.18543,
    "h": 139.5
  },
  "luminance": 0.32501
}

Semantic roles & 50–950 ramp

primary
#4EAF31
secondary
#B378C4
accent
#48E0BD
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0D1308
muted
#7D827B

Preview Lab

Preview with #4EAF31

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

Preview Lab → · Contrast checker → · Palette generator →

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