#2EA71F#2EA71F

#2EA71F is a light, vivid green. Relative luminance 0.283; OKLCH L 63.8% C 0.198 H 141.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2EA71F
RGBrgb(46, 167, 31)
HSLhsl(113, 69%, 39%)
HSVhsv(113, 81%, 65%)
CMYKcmyk(72.5%, 0%, 81.4%, 34.5%)
CIE-LABlab(60.17, -56.98, 55.39)
CIE-LCHlch(60.17, 79.47, 135.81°)
OKLaboklab(63.8% -0.1554 0.123)
OKLCHoklch(63.8% 0.198 141.6)
XYZxyz(15.1919, 28.3155, 5.9609)
Luminance0.2832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA71F #981FA7
analogous
#72A71F #2EA71F #1FA754
triadic
#2EA71F #1F2EA7 #A71F2E
tetradic
#2EA71F #1F72A7 #981FA7 #A7541F
square
#2EA71F #1F72A7 #981FA7 #A7541F
split-complementary
#2EA71F #541FA7 #A71F72
monochromatic
#12400C #207315 #2EA71F #3ED82B #6DE15F

Accessibility & contrast

On white

3.15
#2EA71F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#2EA71F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA71F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA71F#FFFFFF#000000##000000
##2EA71F1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#07A28E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2ea71f;
/* rgb */ color: rgb(46, 167, 31);
/* oklch */ color: oklch(63.8% 0.198 141.6);
Tailwind
colors: {
  custom: {
    50: '#7ac267',
    500: '#2ea71f',
    950: '#000000',
  },
}
SCSS
$custom: #2ea71f;
$custom-light: #7ac267;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea71f",
  "rgb": {
    "r": 46,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 113.382,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63802,
    "c": 0.19816,
    "h": 141.6
  },
  "luminance": 0.28317
}

Semantic roles & 50–950 ramp

primary
#2EA71F
secondary
#BA5CC6
accent
#3CECD8
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2EA71F

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

Preview Lab → · Contrast checker → · Palette generator →

#2EA71F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva