#2E8E31#2E8E31

#2E8E31 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.158 H 143.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2E8E31
RGBrgb(46, 142, 49)
HSLhsl(122, 51%, 37%)
HSVhsv(122, 68%, 56%)
CMYKcmyk(67.6%, 0%, 65.5%, 44.3%)
CIE-LABlab(52.00, -46.87, 40.32)
CIE-LCHlch(52.00, 61.83, 139.30°)
OKLaboklab(57.07% -0.1271 0.0937)
OKLCHoklch(57.07% 0.158 143.6)
XYZxyz(11.3534, 20.1474, 6.1957)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8E31 #8E2E8B
analogous
#5B8E2E #2E8E31 #2E8E61
triadic
#2E8E31 #312E8E #8E312E
tetradic
#2E8E31 #2E5B8E #8E2E8B #8E612E
square
#2E8E31 #2E5B8E #8E2E8B #8E612E
split-complementary
#2E8E31 #612E8E #8E2E5B
monochromatic
#103211 #1F6021 #2E8E31 #3DBC41 #68CE6B

Accessibility & contrast

On white

4.18
#2E8E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2E8E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8E31
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8E31#FFFFFF#000000##000000
##2E8E311.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#857939
Tritanopia (blue-blind)
#168A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2e8e31;
/* rgb */ color: rgb(46, 142, 49);
/* oklch */ color: oklch(57.1% 0.158 143.6);
Tailwind
colors: {
  custom: {
    50: '#74b06d',
    500: '#2e8e31',
    950: '#000000',
  },
}
SCSS
$custom: #2e8e31;
$custom-light: #74b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8e31",
  "rgb": {
    "r": 46,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 121.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57068,
    "c": 0.15796,
    "h": 143.6
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#2E8E31
secondary
#B563B2
accent
#4DD6DB
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2E8E31

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

Preview Lab → · Contrast checker → · Palette generator →

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