#2B7D32#2B7D32

#2B7D32 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.136 H 144.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2B7D32
RGBrgb(43, 125, 50)
HSLhsl(125, 49%, 33%)
HSVhsv(125, 66%, 49%)
CMYKcmyk(65.6%, 0%, 60%, 51%)
CIE-LABlab(46.19, -40.97, 33.19)
CIE-LCHlch(46.19, 52.73, 140.99°)
OKLaboklab(52.24% -0.1109 0.0786)
OKLCHoklch(52.24% 0.136 144.7)
XYZxyz(8.9050, 15.4102, 5.5222)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D32 #7D2B76
analogous
#4D7D2B #2B7D32 #2B7D5B
triadic
#2B7D32 #322B7D #7D322B
tetradic
#2B7D32 #2B4D7D #7D2B76 #7D5B2B
square
#2B7D32 #2B4D7D #7D2B76 #7D5B2B
split-complementary
#2B7D32 #5B2B7D #7D2B4D
monochromatic
#0C220E #1B4F20 #2B7D32 #3BAB44 #5CC765

Accessibility & contrast

On white

5.14
#2B7D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2B7D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D32
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D32#FFFFFF#000000##FFFFFF
##2B7D321.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722A
Deuteranopia (green-blind)
#756B38
Tritanopia (blue-blind)
#187A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d32;
/* rgb */ color: rgb(43, 125, 50);
/* oklch */ color: oklch(52.2% 0.136 144.7);
Tailwind
colors: {
  custom: {
    50: '#6fa36c',
    500: '#2b7d32',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d32;
$custom-light: #6fa36c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d32",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 125.122,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.13595,
    "h": 144.7
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#2B7D32
secondary
#AD57A5
accent
#4FCDD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7D32

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

Preview Lab → · Contrast checker → · Palette generator →

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