#2E7D22#2E7D22

#2E7D22 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.147 H 141.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2E7D22
RGBrgb(46, 125, 34)
HSLhsl(112, 57%, 31%)
HSVhsv(112, 73%, 49%)
CMYKcmyk(63.2%, 0%, 72.8%, 51%)
CIE-LABlab(46.13, -42.03, 40.53)
CIE-LCHlch(46.13, 58.39, 136.04°)
OKLaboklab(52.17% -0.1149 0.0924)
OKLCHoklch(52.17% 0.147 141.2)
XYZxyz(8.7486, 15.3627, 4.0173)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D22 #71227D
analogous
#5B7D22 #2E7D22 #227D43
triadic
#2E7D22 #222E7D #7D222E
tetradic
#2E7D22 #225B7D #71227D #7D4322
square
#2E7D22 #225B7D #71227D #7D4322
split-complementary
#2E7D22 #43227D #7D225B
monochromatic
#0B1D08 #1C4D15 #2E7D22 #40AD2F #5DCE4B

Accessibility & contrast

On white

5.16
#2E7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2E7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D22
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D22#FFFFFF#000000##FFFFFF
##2E7D221.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#22796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d22;
/* rgb */ color: rgb(46, 125, 34);
/* oklch */ color: oklch(52.2% 0.147 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a363',
    500: '#2e7d22',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d22;
$custom-light: #71a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d22",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 112.088,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.14739,
    "h": 141.2
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#2E7D22
secondary
#A24BB0
accent
#47E0CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2E7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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