#2E8C20#2E8C20

#2E8C20 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.167 H 141.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2E8C20
RGBrgb(46, 140, 32)
HSLhsl(112, 63%, 34%)
HSVhsv(112, 77%, 55%)
CMYKcmyk(67.1%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.20, -47.73, 46.45)
CIE-LCHlch(51.20, 66.60, 135.78°)
OKLaboklab(56.36% -0.1304 0.1045)
OKLCHoklch(56.36% 0.167 141.3)
XYZxyz(10.7649, 19.4402, 4.5512)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8C20 #7E208C
analogous
#648C20 #2E8C20 #208C48
triadic
#2E8C20 #202E8C #8C202E
tetradic
#2E8C20 #20648C #7E208C #8C4820
square
#2E8C20 #20648C #7E208C #8C4820
split-complementary
#2E8C20 #48208C #8C2064
monochromatic
#0D2809 #1E5A15 #2E8C20 #3EBE2B #61D750

Accessibility & contrast

On white

4.30
#2E8C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2E8C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8C20
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8C20#FFFFFF#000000##000000
##2E8C201.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#1C8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e8c20;
/* rgb */ color: rgb(46, 140, 32);
/* oklch */ color: oklch(56.4% 0.167 141.3);
Tailwind
colors: {
  custom: {
    50: '#74af64',
    500: '#2e8c20',
    950: '#000000',
  },
}
SCSS
$custom: #2e8c20;
$custom-light: #74af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8c20",
  "rgb": {
    "r": 46,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 112.222,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56358,
    "c": 0.16706,
    "h": 141.3
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

primary
#2E8C20
secondary
#AC4EBA
accent
#42E6D1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8C20

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

Preview Lab → · Contrast checker → · Palette generator →

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