#2E8F20#2E8F20

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

Color values

HEX#2E8F20
RGBrgb(46, 143, 32)
HSLhsl(112, 63%, 34%)
HSVhsv(112, 78%, 56%)
CMYKcmyk(67.8%, 0%, 77.6%, 43.9%)
CIE-LABlab(52.21, -48.80, 47.44)
CIE-LCHlch(52.21, 68.06, 135.81°)
OKLaboklab(57.19% -0.1332 0.1065)
OKLCHoklch(57.19% 0.171 141.4)
XYZxyz(11.2093, 20.3289, 4.6994)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8F20 #81208F
analogous
#668F20 #2E8F20 #208F49
triadic
#2E8F20 #202E8F #8F202E
tetradic
#2E8F20 #20668F #81208F #8F4920
square
#2E8F20 #20668F #81208F #8F4920
split-complementary
#2E8F20 #49208F #8F2066
monochromatic
#0E2B0A #1E5D15 #2E8F20 #3EC12B #62D851

Accessibility & contrast

On white

4.15
#2E8F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E8F20#FFFFFF#000000##000000
##2E8F201.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938106
Deuteranopia (green-blind)
#877A2C
Tritanopia (blue-blind)
#1A8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2e8f20;
/* rgb */ color: rgb(46, 143, 32);
/* oklch */ color: oklch(57.2% 0.171 141.4);
Tailwind
colors: {
  custom: {
    50: '#75b164',
    500: '#2e8f20',
    950: '#000000',
  },
}
SCSS
$custom: #2e8f20;
$custom-light: #75b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8f20",
  "rgb": {
    "r": 46,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 112.432,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57194,
    "c": 0.17059,
    "h": 141.4
  },
  "luminance": 0.2033
}

Semantic roles & 50–950 ramp

primary
#2E8F20
secondary
#AE4FBB
accent
#41E6D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E8F20

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

Preview Lab → · Contrast checker → · Palette generator →

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