#2B7D20#2B7D20

#2B7D20 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.150 H 141.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2B7D20
RGBrgb(43, 125, 32)
HSLhsl(113, 59%, 31%)
HSVhsv(113, 74%, 49%)
CMYKcmyk(65.6%, 0%, 74.4%, 51%)
CIE-LABlab(46.02, -42.95, 41.21)
CIE-LCHlch(46.02, 59.52, 136.18°)
OKLaboklab(52.05% -0.1173 0.0935)
OKLCHoklch(52.05% 0.15 141.4)
XYZxyz(8.5901, 15.2843, 3.8637)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D20 #72207D
analogous
#597D20 #2B7D20 #207D43
triadic
#2B7D20 #202B7D #7D202B
tetradic
#2B7D20 #20597D #72207D #7D4320
square
#2B7D20 #20597D #72207D #7D4320
split-complementary
#2B7D20 #43207D #7D2059
monochromatic
#091C07 #1A4C14 #2B7D20 #3CAE2C #58D047

Accessibility & contrast

On white

5.18
#2B7D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7D20
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D20#FFFFFF#000000##FFFFFF
##2B7D201.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#1D796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d20;
/* rgb */ color: rgb(43, 125, 32);
/* oklch */ color: oklch(52.0% 0.150 141.4);
Tailwind
colors: {
  custom: {
    50: '#70a362',
    500: '#2b7d20',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d20;
$custom-light: #70a362;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d20",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 112.903,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.15,
    "h": 141.4
  },
  "luminance": 0.15285
}

Semantic roles & 50–950 ramp

primary
#2B7D20
secondary
#A449B0
accent
#45E2D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2B7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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