#2E7C22#2E7C22

#2E7C22 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.146 H 141.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2E7C22
RGBrgb(46, 124, 34)
HSLhsl(112, 57%, 31%)
HSVhsv(112, 73%, 49%)
CMYKcmyk(62.9%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.79, -41.65, 40.18)
CIE-LCHlch(45.79, 57.87, 136.03°)
OKLaboklab(51.88% -0.1138 0.0916)
OKLCHoklch(51.88% 0.146 141.2)
XYZxyz(8.6227, 15.1108, 3.9753)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C22 #70227C
analogous
#5B7C22 #2E7C22 #227C43
triadic
#2E7C22 #222E7C #7C222E
tetradic
#2E7C22 #225B7C #70227C #7C4322
square
#2E7C22 #225B7C #70227C #7C4322
split-complementary
#2E7C22 #43227C #7C225B
monochromatic
#0A1C08 #1C4C15 #2E7C22 #40AC2F #5CCE4B

Accessibility & contrast

On white

5.22
#2E7C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2E7C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C22
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C22#FFFFFF#000000##FFFFFF
##2E7C221.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#22786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7c22;
/* rgb */ color: rgb(46, 124, 34);
/* oklch */ color: oklch(51.9% 0.146 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a363',
    500: '#2e7c22',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c22;
$custom-light: #71a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c22",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 112,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51884,
    "c": 0.14612,
    "h": 141.2
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#2E7C22
secondary
#A14BAF
accent
#48E0CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2E7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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