#2D7321#2D7321

#2D7321 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.136 H 140.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2D7321
RGBrgb(45, 115, 33)
HSLhsl(111, 55%, 29%)
HSVhsv(111, 71%, 45%)
CMYKcmyk(60.9%, 0%, 71.3%, 54.9%)
CIE-LABlab(42.66, -38.49, 37.30)
CIE-LCHlch(42.66, 53.60, 135.90°)
OKLaboklab(49.29% -0.1053 0.0855)
OKLCHoklch(49.29% 0.136 140.9)
XYZxyz(7.4871, 12.9285, 3.5394)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7321 #672173
analogous
#567321 #2D7321 #21733E
triadic
#2D7321 #212D73 #73212D
tetradic
#2D7321 #215673 #672173 #733E21
square
#2D7321 #215673 #672173 #733E21
split-complementary
#2D7321 #3E2173 #732156
monochromatic
#091807 #1A4313 #2D7321 #40A32F #58CA45

Accessibility & contrast

On white

5.86
#2D7321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2D7321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7321
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7321#FFFFFF#000000##FFFFFF
##2D73211.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766815
Deuteranopia (green-blind)
#6D6229
Tritanopia (blue-blind)
#236F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7321;
/* rgb */ color: rgb(45, 115, 33);
/* oklch */ color: oklch(49.3% 0.136 140.9);
Tailwind
colors: {
  custom: {
    50: '#6f9c61',
    500: '#2d7321',
    950: '#000000',
  },
}
SCSS
$custom: #2d7321;
$custom-light: #6f9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7321",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 33
  },
  "hsl": {
    "h": 111.22,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.13559,
    "h": 140.9
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#2D7321
secondary
#9949A6
accent
#49DFC9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D7321

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

Preview Lab → · Contrast checker → · Palette generator →

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