#2E8D28#2E8D28

#2E8D28 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.163 H 142.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2E8D28
RGBrgb(46, 141, 40)
HSLhsl(116, 56%, 35%)
HSVhsv(116, 72%, 55%)
CMYKcmyk(67.4%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.59, -47.43, 43.77)
CIE-LCHlch(51.59, 64.54, 137.30°)
OKLaboklab(56.7% -0.1291 0.0999)
OKLCHoklch(56.7% 0.163 142.3)
XYZxyz(11.0340, 19.7827, 5.2440)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8D28 #87288D
analogous
#608D28 #2E8D28 #288D55
triadic
#2E8D28 #282E8D #8D282E
tetradic
#2E8D28 #28608D #87288D #8D5528
square
#2E8D28 #28608D #87288D #8D5528
split-complementary
#2E8D28 #55288D #8D2860
monochromatic
#0F2E0D #1E5D1A #2E8D28 #3EBD36 #65D15E

Accessibility & contrast

On white

4.24
#2E8D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2E8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8D28
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8D28#FFFFFF#000000##000000
##2E8D281.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908018
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#1A8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e8d28;
/* rgb */ color: rgb(46, 141, 40);
/* oklch */ color: oklch(56.7% 0.163 142.3);
Tailwind
colors: {
  custom: {
    50: '#74af68',
    500: '#2e8d28',
    950: '#000000',
  },
}
SCSS
$custom: #2e8d28;
$custom-light: #74af68;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8d28",
  "rgb": {
    "r": 46,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 116.436,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.16327,
    "h": 142.3
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#2E8D28
secondary
#B15AB7
accent
#49DFD6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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