#2B7D22#2B7D22

#2B7D22 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.149 H 141.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2B7D22
RGBrgb(43, 125, 34)
HSLhsl(114, 57%, 31%)
HSVhsv(114, 73%, 49%)
CMYKcmyk(65.6%, 0%, 72.8%, 51%)
CIE-LABlab(46.04, -42.77, 40.41)
CIE-LCHlch(46.04, 58.84, 136.62°)
OKLaboklab(52.07% -0.1167 0.0921)
OKLCHoklch(52.07% 0.149 141.7)
XYZxyz(8.6182, 15.2955, 4.0112)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D22 #74227D
analogous
#587D22 #2B7D22 #227D46
triadic
#2B7D22 #222B7D #7D222B
tetradic
#2B7D22 #22587D #74227D #7D4622
square
#2B7D22 #22587D #74227D #7D4622
split-complementary
#2B7D22 #46227D #7D2258
monochromatic
#0A1D08 #1A4D15 #2B7D22 #3CAD2F #58CE4B

Accessibility & contrast

On white

5.17
#2B7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2B7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D22
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D22#FFFFFF#000000##FFFFFF
##2B7D221.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#1C796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d22;
/* rgb */ color: rgb(43, 125, 34);
/* oklch */ color: oklch(52.1% 0.149 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a363',
    500: '#2b7d22',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d22;
$custom-light: #70a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d22",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 114.066,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.14867,
    "h": 141.7
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#2B7D22
secondary
#A64BB0
accent
#47E0D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2B7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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