#2B7620#2B7620

#2B7620 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.141 H 141.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2B7620
RGBrgb(43, 118, 32)
HSLhsl(112, 57%, 29%)
HSVhsv(112, 73%, 46%)
CMYKcmyk(63.6%, 0%, 72.9%, 53.7%)
CIE-LABlab(43.62, -40.29, 38.72)
CIE-LCHlch(43.62, 55.88, 136.14°)
OKLaboklab(50.06% -0.1101 0.0883)
OKLCHoklch(50.06% 0.141 141.3)
XYZxyz(7.7350, 13.5740, 3.5786)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7620 #6B2076
analogous
#567620 #2B7620 #207640
triadic
#2B7620 #202B76 #76202B
tetradic
#2B7620 #205676 #6B2076 #764020
square
#2B7620 #205676 #6B2076 #764020
split-complementary
#2B7620 #402076 #762056
monochromatic
#091807 #194613 #2B7620 #3DA62D #56CC44

Accessibility & contrast

On white

5.65
#2B7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2B7620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7620
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7620#FFFFFF#000000##FFFFFF
##2B76201.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#1F7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b7620;
/* rgb */ color: rgb(43, 118, 32);
/* oklch */ color: oklch(50.1% 0.141 141.3);
Tailwind
colors: {
  custom: {
    50: '#6e9e61',
    500: '#2b7620',
    950: '#000000',
  },
}
SCSS
$custom: #2b7620;
$custom-light: #6e9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7620",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 112.326,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50059,
    "c": 0.14113,
    "h": 141.3
  },
  "luminance": 0.13575
}

Semantic roles & 50–950 ramp

primary
#2B7620
secondary
#9D48A9
accent
#47E1CD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B7620

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

Preview Lab → · Contrast checker → · Palette generator →

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