#2EAF31#2EAF31

#2EAF31 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.1% C 0.197 H 143.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2EAF31
RGBrgb(46, 175, 49)
HSLhsl(121, 58%, 43%)
HSVhsv(121, 74%, 69%)
CMYKcmyk(73.7%, 0%, 72%, 31.4%)
CIE-LABlab(62.89, -58.29, 51.98)
CIE-LCHlch(62.89, 78.10, 138.28°)
OKLaboklab(66.1% -0.1581 0.1183)
OKLCHoklch(66.1% 0.197 143.2)
XYZxyz(17.0100, 31.4606, 8.0812)
Luminance0.3146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EAF31 #AF2EAC
analogous
#6BAF2E #2EAF31 #2EAF71
triadic
#2EAF31 #312EAF #AF312E
tetradic
#2EAF31 #2E6BAF #AF2EAC #AF712E
square
#2EAF31 #2E6BAF #AF2EAC #AF712E
split-complementary
#2EAF31 #712EAF #AF2E6B
monochromatic
#154E16 #217F23 #2EAF31 #4BD04E #7BDC7D

Accessibility & contrast

On white

2.88
#2EAF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#2EAF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EAF31
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EAF31#FFFFFF#000000##000000
##2EAF311.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#A4943E
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2eaf31;
/* rgb */ color: rgb(46, 175, 49);
/* oklch */ color: oklch(66.1% 0.197 143.2);
Tailwind
colors: {
  custom: {
    50: '#7bc871',
    500: '#2eaf31',
    950: '#000000',
  },
}
SCSS
$custom: #2eaf31;
$custom-light: #7bc871;
$custom-dark: #000000;
JSON
{
  "hex": "#2eaf31",
  "rgb": {
    "r": 46,
    "g": 175,
    "b": 49
  },
  "hsl": {
    "h": 121.395,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66096,
    "c": 0.19745,
    "h": 143.2
  },
  "luminance": 0.31463
}

Semantic roles & 50–950 ramp

primary
#2EAF31
secondary
#C574C3
accent
#46DEE2
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2EAF31

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

Preview Lab → · Contrast checker → · Palette generator →

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