#2E7B22#2E7B22

#2E7B22 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.145 H 141.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2E7B22
RGBrgb(46, 123, 34)
HSLhsl(112, 57%, 31%)
HSVhsv(112, 72%, 48%)
CMYKcmyk(62.6%, 0%, 72.4%, 51.8%)
CIE-LABlab(45.44, -41.27, 39.82)
CIE-LCHlch(45.44, 57.35, 136.02°)
OKLaboklab(51.6% -0.1128 0.0909)
OKLCHoklch(51.6% 0.145 141.1)
XYZxyz(8.4980, 14.8615, 3.9338)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B22 #6F227B
analogous
#5A7B22 #2E7B22 #227B42
triadic
#2E7B22 #222E7B #7B222E
tetradic
#2E7B22 #225A7B #6F227B #7B4222
square
#2E7B22 #225A7B #6F227B #7B4222
split-complementary
#2E7B22 #42227B #7B225A
monochromatic
#0A1B07 #1C4B15 #2E7B22 #40AB2F #5CCD4A

Accessibility & contrast

On white

5.29
#2E7B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2E7B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B22
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B22#FFFFFF#000000##FFFFFF
##2E7B221.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F14
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#227769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7b22;
/* rgb */ color: rgb(46, 123, 34);
/* oklch */ color: oklch(51.6% 0.145 141.1);
Tailwind
colors: {
  custom: {
    50: '#71a262',
    500: '#2e7b22',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b22;
$custom-light: #71a262;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b22",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 111.91,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.14484,
    "h": 141.1
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#2E7B22
secondary
#A04BAE
accent
#48E0CB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2E7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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