#2D7221#2D7221

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

Color values

HEX#2D7221
RGBrgb(45, 114, 33)
HSLhsl(111, 55%, 29%)
HSVhsv(111, 71%, 45%)
CMYKcmyk(60.5%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.31, -38.09, 36.93)
CIE-LCHlch(42.31, 53.06, 135.88°)
OKLaboklab(49% -0.1042 0.0847)
OKLCHoklch(49% 0.134 140.9)
XYZxyz(7.3737, 12.7017, 3.5016)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7221 #662172
analogous
#567221 #2D7221 #21723E
triadic
#2D7221 #212D72 #72212D
tetradic
#2D7221 #215672 #662172 #723E21
square
#2D7221 #215672 #662172 #723E21
split-complementary
#2D7221 #3E2172 #722156
monochromatic
#091807 #1A4313 #2D7221 #40A12F #58C944

Accessibility & contrast

On white

5.93
#2D7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7221
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7221#FFFFFF#000000##FFFFFF
##2D72211.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756716
Deuteranopia (green-blind)
#6C6228
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7221;
/* rgb */ color: rgb(45, 114, 33);
/* oklch */ color: oklch(49.0% 0.134 140.9);
Tailwind
colors: {
  custom: {
    50: '#6e9b61',
    500: '#2d7221',
    950: '#000000',
  },
}
SCSS
$custom: #2d7221;
$custom-light: #6e9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7221",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 111.111,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49002,
    "c": 0.13427,
    "h": 140.9
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#2D7221
secondary
#9849A5
accent
#49DEC8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D7221

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

Preview Lab → · Contrast checker → · Palette generator →

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