#2B7F22#2B7F22

#2B7F22 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.151 H 141.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2B7F22
RGBrgb(43, 127, 34)
HSLhsl(114, 58%, 32%)
HSVhsv(114, 73%, 50%)
CMYKcmyk(66.1%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.72, -43.52, 41.12)
CIE-LCHlch(46.72, 59.87, 136.62°)
OKLaboklab(52.63% -0.1187 0.0936)
OKLCHoklch(52.63% 0.151 141.7)
XYZxyz(8.8739, 15.8069, 4.0965)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F22 #76227F
analogous
#5A7F22 #2B7F22 #227F48
triadic
#2B7F22 #222B7F #7F222B
tetradic
#2B7F22 #225A7F #76227F #7F4822
square
#2B7F22 #225A7F #76227F #7F4822
split-complementary
#2B7F22 #48227F #7F225A
monochromatic
#0A1E08 #1B4F15 #2B7F22 #3BAF2F #59CF4C

Accessibility & contrast

On white

5.05
#2B7F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2B7F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F22
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F22#FFFFFF#000000##FFFFFF
##2B7F221.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#1B7B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7f22;
/* rgb */ color: rgb(43, 127, 34);
/* oklch */ color: oklch(52.6% 0.151 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a563',
    500: '#2b7f22',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f22;
$custom-light: #70a563;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f22",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 114.194,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.15118,
    "h": 141.7
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B7F22

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

Preview Lab → · Contrast checker → · Palette generator →

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