#2D721D#2D721D

#2D721D is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.137 H 140.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2D721D
RGBrgb(45, 114, 29)
HSLhsl(109, 59%, 28%)
HSVhsv(109, 75%, 45%)
CMYKcmyk(60.5%, 0%, 74.6%, 55.3%)
CIE-LABlab(42.28, -38.46, 38.61)
CIE-LCHlch(42.28, 54.49, 134.89°)
OKLaboklab(48.97% -0.1054 0.0877)
OKLCHoklch(48.97% 0.137 140.3)
XYZxyz(7.3209, 12.6806, 3.2240)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D721D #621D72
analogous
#57721D #2D721D #1D7237
triadic
#2D721D #1D2D72 #721D2D
tetradic
#2D721D #1D5772 #621D72 #72371D
square
#2D721D #1D5772 #621D72 #72371D
split-complementary
#2D721D #371D72 #721D57
monochromatic
#0A1806 #1A4111 #2D721D #40A329 #57CD3C

Accessibility & contrast

On white

5.94
#2D721D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2D721D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D721D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D721D#FFFFFF#000000##FFFFFF
##2D721D1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d721d;
/* rgb */ color: rgb(45, 114, 29);
/* oklch */ color: oklch(49.0% 0.137 140.3);
Tailwind
colors: {
  custom: {
    50: '#6f9b5f',
    500: '#2d721d',
    950: '#000000',
  },
}
SCSS
$custom: #2d721d;
$custom-light: #6f9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d721d",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 29
  },
  "hsl": {
    "h": 108.706,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.13711,
    "h": 140.3
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#2D721D
secondary
#9445A6
accent
#45E3C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D721D

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

Preview Lab → · Contrast checker → · Palette generator →

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