#2EAF42#2EAF42

#2EAF42 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.186 H 145.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2EAF42
RGBrgb(46, 175, 66)
HSLhsl(129, 58%, 43%)
HSVhsv(129, 74%, 69%)
CMYKcmyk(73.7%, 0%, 62.3%, 31.4%)
CIE-LABlab(63.04, -56.56, 45.03)
CIE-LCHlch(63.04, 72.30, 141.48°)
OKLaboklab(66.26% -0.1527 0.1055)
OKLCHoklch(66.26% 0.186 145.4)
XYZxyz(17.4388, 31.6321, 10.3398)
Luminance0.3163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EAF42 #AF2E9B
analogous
#5BAF2E #2EAF42 #2EAF82
triadic
#2EAF42 #422EAF #AF422E
tetradic
#2EAF42 #2E5BAF #AF2E9B #AF822E
square
#2EAF42 #2E5BAF #AF2E9B #AF822E
split-complementary
#2EAF42 #822EAF #AF2E5B
monochromatic
#154E1D #217F30 #2EAF42 #4BD05F #7BDC8A

Accessibility & contrast

On white

2.87
#2EAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#2EAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EAF42
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EAF42#FFFFFF#000000##000000
##2EAF421.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F36
Deuteranopia (green-blind)
#A3954B
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2eaf42;
/* rgb */ color: rgb(46, 175, 66);
/* oklch */ color: oklch(66.3% 0.186 145.4);
Tailwind
colors: {
  custom: {
    50: '#7bc87a',
    500: '#2eaf42',
    950: '#000000',
  },
}
SCSS
$custom: #2eaf42;
$custom-light: #7bc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#2eaf42",
  "rgb": {
    "r": 46,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 129.302,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66261,
    "c": 0.18556,
    "h": 145.4
  },
  "luminance": 0.31634
}

Semantic roles & 50–950 ramp

primary
#2EAF42
secondary
#C574B8
accent
#46C9E2
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2EAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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