#2E7A22#2E7A22

#2E7A22 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.144 H 141.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2E7A22
RGBrgb(46, 122, 34)
HSLhsl(112, 56%, 31%)
HSVhsv(112, 72%, 48%)
CMYKcmyk(62.3%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.10, -40.88, 39.46)
CIE-LCHlch(45.10, 56.82, 136.01°)
OKLaboklab(51.32% -0.1117 0.0901)
OKLCHoklch(51.32% 0.144 141.1)
XYZxyz(8.3746, 14.6146, 3.8926)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A22 #6E227A
analogous
#5A7A22 #2E7A22 #227A42
triadic
#2E7A22 #222E7A #7A222E
tetradic
#2E7A22 #225A7A #6E227A #7A4222
square
#2E7A22 #225A7A #6E227A #7A4222
split-complementary
#2E7A22 #42227A #7A225A
monochromatic
#0A1A07 #1C4A15 #2E7A22 #40AA2F #5CCD4A

Accessibility & contrast

On white

5.35
#2E7A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2E7A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A22
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A22#FFFFFF#000000##FFFFFF
##2E7A221.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F15
Deuteranopia (green-blind)
#74682A
Tritanopia (blue-blind)
#237668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a22;
/* rgb */ color: rgb(46, 122, 34);
/* oklch */ color: oklch(51.3% 0.144 141.1);
Tailwind
colors: {
  custom: {
    50: '#70a162',
    500: '#2e7a22',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a22;
$custom-light: #70a162;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a22",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 111.818,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51319,
    "c": 0.14355,
    "h": 141.1
  },
  "luminance": 0.14615
}

Semantic roles & 50–950 ramp

primary
#2E7A22
secondary
#9F4BAD
accent
#48E0CB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2E7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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