#2E8A20#2E8A20

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

Color values

HEX#2E8A20
RGBrgb(46, 138, 32)
HSLhsl(112, 62%, 33%)
HSVhsv(112, 77%, 54%)
CMYKcmyk(66.7%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.52, -47.02, 45.78)
CIE-LCHlch(50.52, 65.62, 135.76°)
OKLaboklab(55.8% -0.1284 0.1031)
OKLCHoklch(55.8% 0.165 141.3)
XYZxyz(10.4754, 18.8610, 4.4547)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8A20 #7C208A
analogous
#638A20 #2E8A20 #208A47
triadic
#2E8A20 #202E8A #8A202E
tetradic
#2E8A20 #20638A #7C208A #8A4720
square
#2E8A20 #20638A #7C208A #8A4720
split-complementary
#2E8A20 #47208A #8A2063
monochromatic
#0D2709 #1D5814 #2E8A20 #3FBC2C #60D64E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E8A20#FFFFFF#000000##000000
##2E8A201.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)
#8E7D09
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#1D8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8a20;
/* rgb */ color: rgb(46, 138, 32);
/* oklch */ color: oklch(55.8% 0.165 141.3);
Tailwind
colors: {
  custom: {
    50: '#74ad63',
    500: '#2e8a20',
    950: '#000000',
  },
}
SCSS
$custom: #2e8a20;
$custom-light: #74ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8a20",
  "rgb": {
    "r": 46,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 112.075,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.558,
    "c": 0.16467,
    "h": 141.3
  },
  "luminance": 0.18862
}

Semantic roles & 50–950 ramp

primary
#2E8A20
secondary
#AB4DB9
accent
#42E5D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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