#2E8020#2E8020

#2E8020 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.152 H 141.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2E8020
RGBrgb(46, 128, 32)
HSLhsl(111, 60%, 31%)
HSVhsv(111, 75%, 50%)
CMYKcmyk(64.1%, 0%, 75%, 49.8%)
CIE-LABlab(47.13, -43.34, 42.38)
CIE-LCHlch(47.13, 60.62, 135.65°)
OKLaboklab(53% -0.1185 0.0959)
OKLCHoklch(53% 0.152 141)
XYZxyz(9.1061, 16.1226, 3.9983)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8020 #722080
analogous
#5E8020 #2E8020 #208042
triadic
#2E8020 #202E80 #80202E
tetradic
#2E8020 #205E80 #722080 #804220
square
#2E8020 #205E80 #722080 #804220
split-complementary
#2E8020 #422080 #80205E
monochromatic
#0B1E08 #1C4F14 #2E8020 #40B12C #5DD149

Accessibility & contrast

On white

4.97
#2E8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2E8020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8020
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8020#FFFFFF#000000##FFFFFF
##2E80201.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#217C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e8020;
/* rgb */ color: rgb(46, 128, 32);
/* oklch */ color: oklch(53.0% 0.152 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a662',
    500: '#2e8020',
    950: '#000000',
  },
}
SCSS
$custom: #2e8020;
$custom-light: #72a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8020",
  "rgb": {
    "r": 46,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 111.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.15249,
    "h": 141
  },
  "luminance": 0.16123
}

Semantic roles & 50–950 ramp

primary
#2E8020
secondary
#A349B3
accent
#45E3CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2E8020

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

Preview Lab → · Contrast checker → · Palette generator →

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