#2E8022#2E8022

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

Color values

HEX#2E8022
RGBrgb(46, 128, 34)
HSLhsl(112, 58%, 32%)
HSVhsv(112, 73%, 50%)
CMYKcmyk(64.1%, 0%, 73.4%, 49.8%)
CIE-LABlab(47.15, -43.17, 41.59)
CIE-LCHlch(47.15, 59.95, 136.07°)
OKLaboklab(53.01% -0.1179 0.0946)
OKLCHoklch(53.01% 0.151 141.3)
XYZxyz(9.1342, 16.1338, 4.1458)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8022 #742280
analogous
#5D8022 #2E8022 #228045
triadic
#2E8022 #222E80 #80222E
tetradic
#2E8022 #225D80 #742280 #804522
square
#2E8022 #225D80 #742280 #804522
split-complementary
#2E8022 #452280 #80225D
monochromatic
#0B1F08 #1D5015 #2E8022 #3FB02F #5DD04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E8022#FFFFFF#000000##FFFFFF
##2E80221.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)
#837413
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#217C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e8022;
/* rgb */ color: rgb(46, 128, 34);
/* oklch */ color: oklch(53.0% 0.151 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a663',
    500: '#2e8022',
    950: '#000000',
  },
}
SCSS
$custom: #2e8022;
$custom-light: #72a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8022",
  "rgb": {
    "r": 46,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 112.34,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.15119,
    "h": 141.3
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#2E8022
secondary
#A54BB2
accent
#47E1CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2E8022

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

Preview Lab → · Contrast checker → · Palette generator →

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