#2E8D21#2E8D21

#2E8D21 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.168 H 141.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2E8D21
RGBrgb(46, 141, 33)
HSLhsl(113, 62%, 34%)
HSVhsv(113, 77%, 55%)
CMYKcmyk(67.4%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.54, -48.01, 46.43)
CIE-LCHlch(51.54, 66.79, 135.96°)
OKLaboklab(56.65% -0.1311 0.1045)
OKLCHoklch(56.65% 0.168 141.4)
XYZxyz(10.9255, 19.7393, 4.6728)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8D21 #80218D
analogous
#648D21 #2E8D21 #218D4A
triadic
#2E8D21 #212E8D #8D212E
tetradic
#2E8D21 #21648D #80218D #8D4A21
square
#2E8D21 #21648D #80218D #8D4A21
split-complementary
#2E8D21 #4A218D #8D2164
monochromatic
#0E2A0A #1E5B15 #2E8D21 #3EBF2D #62D652

Accessibility & contrast

On white

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

On black

4.95
#2E8D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8D21
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8D21#FFFFFF#000000##000000
##2E8D211.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#1B8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e8d21;
/* rgb */ color: rgb(46, 141, 33);
/* oklch */ color: oklch(56.6% 0.168 141.4);
Tailwind
colors: {
  custom: {
    50: '#75af64',
    500: '#2e8d21',
    950: '#000000',
  },
}
SCSS
$custom: #2e8d21;
$custom-light: #75af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8d21",
  "rgb": {
    "r": 46,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 112.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.16766,
    "h": 141.4
  },
  "luminance": 0.1974
}

Semantic roles & 50–950 ramp

primary
#2E8D21
secondary
#AD50BA
accent
#43E5D2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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