#2E7E22#2E7E22

#2E7E22 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.149 H 141.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2E7E22
RGBrgb(46, 126, 34)
HSLhsl(112, 58%, 31%)
HSVhsv(112, 73%, 49%)
CMYKcmyk(63.5%, 0%, 73%, 50.6%)
CIE-LABlab(46.47, -42.42, 40.89)
CIE-LCHlch(46.47, 58.91, 136.05°)
OKLaboklab(52.45% -0.1159 0.0931)
OKLCHoklch(52.45% 0.149 141.2)
XYZxyz(8.8759, 15.6172, 4.0597)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E22 #72227E
analogous
#5C7E22 #2E7E22 #227E44
triadic
#2E7E22 #222E7E #7E222E
tetradic
#2E7E22 #225C7E #72227E #7E4422
square
#2E7E22 #225C7E #72227E #7E4422
split-complementary
#2E7E22 #44227E #7E225C
monochromatic
#0B1E08 #1C4E15 #2E7E22 #40AE2F #5DCF4C

Accessibility & contrast

On white

5.09
#2E7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2E7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E22
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E22#FFFFFF#000000##FFFFFF
##2E7E221.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#776C2B
Tritanopia (blue-blind)
#217A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e22;
/* rgb */ color: rgb(46, 126, 34);
/* oklch */ color: oklch(52.4% 0.149 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a463',
    500: '#2e7e22',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e22;
$custom-light: #71a463;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e22",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 112.174,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.14866,
    "h": 141.2
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#2E7E22
secondary
#A34BB1
accent
#47E1CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2E7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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