#2E9840#2E9840

#2E9840 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.158 H 146.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2E9840
RGBrgb(46, 152, 64)
HSLhsl(130, 54%, 39%)
HSVhsv(130, 70%, 60%)
CMYKcmyk(69.7%, 0%, 57.9%, 40.4%)
CIE-LABlab(55.49, -48.69, 37.22)
CIE-LCHlch(55.49, 61.29, 142.60°)
OKLaboklab(60% -0.1314 0.0885)
OKLCHoklch(60% 0.158 146.1)
XYZxyz(13.2794, 23.4061, 8.6675)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9840 #982E86
analogous
#51982E #2E9840 #2E9875
triadic
#2E9840 #402E98 #98402E
tetradic
#2E9840 #2E5198 #982E86 #98752E
square
#2E9840 #2E5198 #982E86 #98752E
split-complementary
#2E9840 #752E98 #982E51
monochromatic
#123A18 #20692C #2E9840 #3EC555 #6DD37F

Accessibility & contrast

On white

3.70
#2E9840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2E9840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9840
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9840#FFFFFF#000000##000000
##2E98401.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A37
Deuteranopia (green-blind)
#8E8147
Tritanopia (blue-blind)
#039485
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2e9840;
/* rgb */ color: rgb(46, 152, 64);
/* oklch */ color: oklch(60.0% 0.158 146.1);
Tailwind
colors: {
  custom: {
    50: '#75b777',
    500: '#2e9840',
    950: '#000000',
  },
}
SCSS
$custom: #2e9840;
$custom-light: #75b777;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9840",
  "rgb": {
    "r": 46,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 130.189,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.15842,
    "h": 146.1
  },
  "luminance": 0.23407
}

Semantic roles & 50–950 ramp

primary
#2E9840
secondary
#BA68AC
accent
#4BC4DD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2E9840

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

Preview Lab → · Contrast checker → · Palette generator →

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