#2B7222#2B7222

#2B7222 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.134 H 141.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2B7222
RGBrgb(43, 114, 34)
HSLhsl(113, 54%, 29%)
HSVhsv(113, 70%, 45%)
CMYKcmyk(62.3%, 0%, 70.2%, 55.3%)
CIE-LABlab(42.25, -38.53, 36.41)
CIE-LCHlch(42.25, 53.01, 136.62°)
OKLaboklab(48.94% -0.1052 0.0837)
OKLCHoklch(48.94% 0.134 141.5)
XYZxyz(7.3019, 12.6630, 3.5725)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7222 #692272
analogous
#537222 #2B7222 #227241
triadic
#2B7222 #222B72 #72222B
tetradic
#2B7222 #225372 #692272 #724122
square
#2B7222 #225372 #692272 #724122
split-complementary
#2B7222 #412272 #722253
monochromatic
#091807 #194314 #2B7222 #3DA130 #55C846

Accessibility & contrast

On white

5.94
#2B7222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2B7222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7222
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7222#FFFFFF#000000##FFFFFF
##2B72221.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756717
Deuteranopia (green-blind)
#6C6129
Tritanopia (blue-blind)
#206E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7222;
/* rgb */ color: rgb(43, 114, 34);
/* oklch */ color: oklch(48.9% 0.134 141.5);
Tailwind
colors: {
  custom: {
    50: '#6d9b61',
    500: '#2b7222',
    950: '#000000',
  },
}
SCSS
$custom: #2b7222;
$custom-light: #6d9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7222",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 113.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48937,
    "c": 0.13444,
    "h": 141.5
  },
  "luminance": 0.12664
}

Semantic roles & 50–950 ramp

primary
#2B7222
secondary
#9B4BA5
accent
#4ADDCD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B7222

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

Preview Lab → · Contrast checker → · Palette generator →

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