#2E9842#2E9842

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

Color values

HEX#2E9842
RGBrgb(46, 152, 66)
HSLhsl(131, 54%, 39%)
HSVhsv(131, 70%, 60%)
CMYKcmyk(69.7%, 0%, 56.6%, 40.4%)
CIE-LABlab(55.51, -48.42, 36.26)
CIE-LCHlch(55.51, 60.49, 143.17°)
OKLaboklab(60.03% -0.1306 0.0865)
OKLCHoklch(60.03% 0.157 146.5)
XYZxyz(13.3374, 23.4292, 8.9726)
Luminance0.2343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9842 #982E84
analogous
#4F982E #2E9842 #2E9877
triadic
#2E9842 #422E98 #98422E
tetradic
#2E9842 #2E4F98 #982E84 #98772E
square
#2E9842 #2E4F98 #982E84 #98772E
split-complementary
#2E9842 #772E98 #982E4F
monochromatic
#123A19 #20692E #2E9842 #3EC558 #6DD381

Accessibility & contrast

On white

3.69
#2E9842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#2E9842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9842
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9842#FFFFFF#000000##000000
##2E98421.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A3A
Deuteranopia (green-blind)
#8D8249
Tritanopia (blue-blind)
#029485
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2e9842;
/* rgb */ color: rgb(46, 152, 66);
/* oklch */ color: oklch(60.0% 0.157 146.5);
Tailwind
colors: {
  custom: {
    50: '#75b779',
    500: '#2e9842',
    950: '#000000',
  },
}
SCSS
$custom: #2e9842;
$custom-light: #75b779;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9842",
  "rgb": {
    "r": 46,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 131.321,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60029,
    "c": 0.15667,
    "h": 146.5
  },
  "luminance": 0.23431
}

Semantic roles & 50–950 ramp

primary
#2E9842
secondary
#BA68AB
accent
#4BC1DD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2E9842

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

Preview Lab → · Contrast checker → · Palette generator →

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