#2E8F21#2E8F21

#2E8F21 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.170 H 141.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2E8F21
RGBrgb(46, 143, 33)
HSLhsl(113, 63%, 35%)
HSVhsv(113, 77%, 56%)
CMYKcmyk(67.8%, 0%, 76.9%, 43.9%)
CIE-LABlab(52.21, -48.72, 47.09)
CIE-LCHlch(52.21, 67.76, 135.97°)
OKLaboklab(57.2% -0.133 0.1059)
OKLCHoklch(57.2% 0.17 141.5)
XYZxyz(11.2231, 20.3344, 4.7720)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8F21 #82218F
analogous
#658F21 #2E8F21 #218F4B
triadic
#2E8F21 #212E8F #8F212E
tetradic
#2E8F21 #21658F #82218F #8F4B21
square
#2E8F21 #21658F #82218F #8F4B21
split-complementary
#2E8F21 #4B218F #8F2165
monochromatic
#0E2C0A #1E5D16 #2E8F21 #3EC12C #63D753

Accessibility & contrast

On white

4.14
#2E8F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2E8F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8F21
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8F21#FFFFFF#000000##000000
##2E8F211.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938109
Deuteranopia (green-blind)
#877A2D
Tritanopia (blue-blind)
#1A8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e8f21;
/* rgb */ color: rgb(46, 143, 33);
/* oklch */ color: oklch(57.2% 0.170 141.5);
Tailwind
colors: {
  custom: {
    50: '#75b164',
    500: '#2e8f21',
    950: '#000000',
  },
}
SCSS
$custom: #2e8f21;
$custom-light: #75b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8f21",
  "rgb": {
    "r": 46,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 112.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57201,
    "c": 0.17004,
    "h": 141.5
  },
  "luminance": 0.20336
}

Semantic roles & 50–950 ramp

primary
#2E8F21
secondary
#AE51BB
accent
#42E6D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E8F21

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

Preview Lab → · Contrast checker → · Palette generator →

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