#2B721D#2B721D

#2B721D is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.138 H 140.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2B721D
RGBrgb(43, 114, 29)
HSLhsl(110, 59%, 28%)
HSVhsv(110, 75%, 45%)
CMYKcmyk(62.3%, 0%, 74.6%, 55.3%)
CIE-LABlab(42.21, -39.00, 38.51)
CIE-LCHlch(42.21, 54.81, 135.36°)
OKLaboklab(48.89% -0.1068 0.0875)
OKLCHoklch(48.89% 0.138 140.7)
XYZxyz(7.2350, 12.6363, 3.2199)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B721D #641D72
analogous
#55721D #2B721D #1D7239
triadic
#2B721D #1D2B72 #721D2B
tetradic
#2B721D #1D5572 #641D72 #72391D
square
#2B721D #1D5572 #641D72 #72391D
split-complementary
#2B721D #391D72 #721D55
monochromatic
#091806 #194111 #2B721D #3DA329 #54CD3C

Accessibility & contrast

On white

5.95
#2B721D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2B721D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B721D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B721D#FFFFFF#000000##FFFFFF
##2B721D1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670F
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#216E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b721d;
/* rgb */ color: rgb(43, 114, 29);
/* oklch */ color: oklch(48.9% 0.138 140.7);
Tailwind
colors: {
  custom: {
    50: '#6e9b5f',
    500: '#2b721d',
    950: '#000000',
  },
}
SCSS
$custom: #2b721d;
$custom-light: #6e9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b721d",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 29
  },
  "hsl": {
    "h": 110.118,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4889,
    "c": 0.13804,
    "h": 140.7
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#2B721D
secondary
#9645A6
accent
#45E3C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B721D

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

Preview Lab → · Contrast checker → · Palette generator →

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