#2B7B20#2B7B20

#2B7B20 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.147 H 141.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2B7B20
RGBrgb(43, 123, 32)
HSLhsl(113, 59%, 30%)
HSVhsv(113, 74%, 48%)
CMYKcmyk(65%, 0%, 74%, 51.8%)
CIE-LABlab(45.34, -42.20, 40.51)
CIE-LCHlch(45.34, 58.49, 136.17°)
OKLaboklab(51.48% -0.1152 0.0921)
OKLCHoklch(51.48% 0.147 141.4)
XYZxyz(8.3395, 14.7830, 3.7801)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7B20 #70207B
analogous
#587B20 #2B7B20 #207B42
triadic
#2B7B20 #202B7B #7B202B
tetradic
#2B7B20 #20587B #70207B #7B4220
square
#2B7B20 #20587B #70207B #7B4220
split-complementary
#2B7B20 #42207B #7B2058
monochromatic
#091A07 #1A4A13 #2B7B20 #3CAC2D #57CF46

Accessibility & contrast

On white

5.31
#2B7B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2B7B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7B20
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7B20#FFFFFF#000000##FFFFFF
##2B7B201.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#746929
Tritanopia (blue-blind)
#1D7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7b20;
/* rgb */ color: rgb(43, 123, 32);
/* oklch */ color: oklch(51.5% 0.147 141.4);
Tailwind
colors: {
  custom: {
    50: '#6fa261',
    500: '#2b7b20',
    950: '#000000',
  },
}
SCSS
$custom: #2b7b20;
$custom-light: #6fa261;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7b20",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 112.747,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51481,
    "c": 0.14749,
    "h": 141.4
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#2B7B20
secondary
#A249AE
accent
#46E2CF
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7B20

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

Preview Lab → · Contrast checker → · Palette generator →

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