#2E8E28#2E8E28

#2E8E28 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.164 H 142.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2E8E28
RGBrgb(46, 142, 40)
HSLhsl(116, 56%, 36%)
HSVhsv(116, 72%, 56%)
CMYKcmyk(67.6%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.93, -47.79, 44.12)
CIE-LCHlch(51.93, 65.04, 137.28°)
OKLaboklab(56.98% -0.1301 0.1007)
OKLCHoklch(56.98% 0.164 142.3)
XYZxyz(11.1821, 20.0789, 5.2934)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8E28 #88288E
analogous
#618E28 #2E8E28 #288E55
triadic
#2E8E28 #282E8E #8E282E
tetradic
#2E8E28 #28618E #88288E #8E5528
square
#2E8E28 #28618E #88288E #8E5528
split-complementary
#2E8E28 #55288E #8E2861
monochromatic
#0F2F0D #1F5E1B #2E8E28 #3DBE35 #65D25F

Accessibility & contrast

On white

4.19
#2E8E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2E8E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8E28
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8E28#FFFFFF#000000##000000
##2E8E281.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918118
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#198A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2e8e28;
/* rgb */ color: rgb(46, 142, 40);
/* oklch */ color: oklch(57.0% 0.164 142.3);
Tailwind
colors: {
  custom: {
    50: '#74b068',
    500: '#2e8e28',
    950: '#000000',
  },
}
SCSS
$custom: #2e8e28;
$custom-light: #74b068;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8e28",
  "rgb": {
    "r": 46,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 116.471,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56979,
    "c": 0.16449,
    "h": 142.3
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

primary
#2E8E28
secondary
#B25BB7
accent
#48DFD6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E8E28

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

Preview Lab → · Contrast checker → · Palette generator →

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