#2E8021#2E8021

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

Color values

HEX#2E8021
RGBrgb(46, 128, 33)
HSLhsl(112, 59%, 32%)
HSVhsv(112, 74%, 50%)
CMYKcmyk(64.1%, 0%, 74.2%, 49.8%)
CIE-LABlab(47.14, -43.26, 41.99)
CIE-LCHlch(47.14, 60.29, 135.85°)
OKLaboklab(53% -0.1182 0.0953)
OKLCHoklch(53% 0.152 141.1)
XYZxyz(9.1199, 16.1281, 4.0710)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8021 #732180
analogous
#5E8021 #2E8021 #218044
triadic
#2E8021 #212E80 #80212E
tetradic
#2E8021 #215E80 #732180 #804421
square
#2E8021 #215E80 #732180 #804421
split-complementary
#2E8021 #442180 #80215E
monochromatic
#0B1F08 #1D4F14 #2E8021 #3FB12E #5DD14B

Accessibility & contrast

On white

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

On black

4.23
#2E8021 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E8021#FFFFFF#000000##FFFFFF
##2E80211.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837411
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#217C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e8021;
/* rgb */ color: rgb(46, 128, 33);
/* oklch */ color: oklch(53.0% 0.152 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a663',
    500: '#2e8021',
    950: '#000000',
  },
}
SCSS
$custom: #2e8021;
$custom-light: #72a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8021",
  "rgb": {
    "r": 46,
    "g": 128,
    "b": 33
  },
  "hsl": {
    "h": 111.789,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53003,
    "c": 0.15185,
    "h": 141.1
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#2E8021
secondary
#A44AB3
accent
#46E2CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2E8021

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

Preview Lab → · Contrast checker → · Palette generator →

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