#2E8D3B#2E8D3B

#2E8D3B is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.148 H 145.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2E8D3B
RGBrgb(46, 141, 59)
HSLhsl(128, 51%, 37%)
HSVhsv(128, 67%, 55%)
CMYKcmyk(67.4%, 0%, 58.2%, 44.7%)
CIE-LABlab(51.78, -45.26, 35.30)
CIE-LCHlch(51.78, 57.40, 142.05°)
OKLaboklab(56.91% -0.1223 0.0839)
OKLCHoklch(56.91% 0.148 145.6)
XYZxyz(11.4403, 19.9452, 7.3837)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8D3B #8D2E80
analogous
#518D2E #2E8D3B #2E8D6B
triadic
#2E8D3B #3B2E8D #8D3B2E
tetradic
#2E8D3B #2E518D #8D2E80 #8D6B2E
square
#2E8D3B #2E518D #8D2E80 #8D6B2E
split-complementary
#2E8D3B #6B2E8D #8D2E51
monochromatic
#103114 #1F5F28 #2E8D3B #3DBB4E #68CE76

Accessibility & contrast

On white

4.21
#2E8D3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2E8D3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8D3B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8D3B#FFFFFF#000000##000000
##2E8D3B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8033
Deuteranopia (green-blind)
#847841
Tritanopia (blue-blind)
#128A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e8d3b;
/* rgb */ color: rgb(46, 141, 59);
/* oklch */ color: oklch(56.9% 0.148 145.6);
Tailwind
colors: {
  custom: {
    50: '#73af73',
    500: '#2e8d3b',
    950: '#000000',
  },
}
SCSS
$custom: #2e8d3b;
$custom-light: #73af73;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8d3b",
  "rgb": {
    "r": 46,
    "g": 141,
    "b": 59
  },
  "hsl": {
    "h": 128.211,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56913,
    "c": 0.14832,
    "h": 145.6
  },
  "luminance": 0.19946
}

Semantic roles & 50–950 ramp

primary
#2E8D3B
secondary
#B562A9
accent
#4EC7DA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2E8D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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