#2B7E22#2B7E22

#2B7E22 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.150 H 141.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2B7E22
RGBrgb(43, 126, 34)
HSLhsl(114, 58%, 31%)
HSVhsv(114, 73%, 49%)
CMYKcmyk(65.9%, 0%, 73%, 50.6%)
CIE-LABlab(46.38, -43.15, 40.77)
CIE-LCHlch(46.38, 59.36, 136.62°)
OKLaboklab(52.35% -0.1177 0.0929)
OKLCHoklch(52.35% 0.15 141.7)
XYZxyz(8.7454, 15.5499, 4.0536)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E22 #75227E
analogous
#597E22 #2B7E22 #227E47
triadic
#2B7E22 #222B7E #7E222B
tetradic
#2B7E22 #22597E #75227E #7E4722
square
#2B7E22 #22597E #75227E #7E4722
split-complementary
#2B7E22 #47227E #7E2259
monochromatic
#0A1E08 #1B4E15 #2B7E22 #3BAE2F #59CF4C

Accessibility & contrast

On white

5.11
#2B7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2B7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E22
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E22#FFFFFF#000000##FFFFFF
##2B7E221.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#1C7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e22;
/* rgb */ color: rgb(43, 126, 34);
/* oklch */ color: oklch(52.3% 0.150 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a463',
    500: '#2b7e22',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e22;
$custom-light: #70a463;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e22",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 114.13,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.14992,
    "h": 141.7
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#2B7E22
secondary
#A74BB1
accent
#47E1D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2B7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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