#2E8A21#2E8A21

#2E8A21 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.164 H 141.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2E8A21
RGBrgb(46, 138, 33)
HSLhsl(113, 61%, 34%)
HSVhsv(113, 76%, 54%)
CMYKcmyk(66.7%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.53, -46.94, 45.42)
CIE-LCHlch(50.53, 65.32, 135.94°)
OKLaboklab(55.81% -0.1282 0.1024)
OKLCHoklch(55.81% 0.164 141.4)
XYZxyz(10.4892, 18.8666, 4.5274)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8A21 #7D218A
analogous
#628A21 #2E8A21 #218A48
triadic
#2E8A21 #212E8A #8A212E
tetradic
#2E8A21 #21628A #7D218A #8A4821
square
#2E8A21 #21628A #7D218A #8A4821
split-complementary
#2E8A21 #48218A #8A2162
monochromatic
#0D2709 #1E5915 #2E8A21 #3EBB2D #61D550

Accessibility & contrast

On white

4.40
#2E8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2E8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8A21
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8A21#FFFFFF#000000##000000
##2E8A211.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#83752C
Tritanopia (blue-blind)
#1D8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8a21;
/* rgb */ color: rgb(46, 138, 33);
/* oklch */ color: oklch(55.8% 0.164 141.4);
Tailwind
colors: {
  custom: {
    50: '#74ad64',
    500: '#2e8a21',
    950: '#000000',
  },
}
SCSS
$custom: #2e8a21;
$custom-light: #74ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8a21",
  "rgb": {
    "r": 46,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 112.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55807,
    "c": 0.16409,
    "h": 141.4
  },
  "luminance": 0.18868
}

Semantic roles & 50–950 ramp

primary
#2E8A21
secondary
#AB4EB9
accent
#43E5D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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