#2D7720#2D7720

#2D7720 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.142 H 140.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2D7720
RGBrgb(45, 119, 32)
HSLhsl(111, 58%, 30%)
HSVhsv(111, 73%, 47%)
CMYKcmyk(62.2%, 0%, 73.1%, 53.3%)
CIE-LABlab(44.02, -40.16, 39.17)
CIE-LCHlch(44.02, 56.10, 135.72°)
OKLaboklab(50.41% -0.1098 0.0892)
OKLCHoklch(50.41% 0.142 140.9)
XYZxyz(7.9393, 13.8551, 3.6221)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7720 #6A2077
analogous
#597720 #2D7720 #20773E
triadic
#2D7720 #202D77 #77202D
tetradic
#2D7720 #205977 #6A2077 #773E20
square
#2D7720 #205977 #6A2077 #773E20
split-complementary
#2D7720 #3E2077 #772059
monochromatic
#091806 #1B4713 #2D7720 #3FA72D #59CD45

Accessibility & contrast

On white

5.57
#2D7720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2D7720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7720
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7720#FFFFFF#000000##FFFFFF
##2D77201.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C12
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#227366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d7720;
/* rgb */ color: rgb(45, 119, 32);
/* oklch */ color: oklch(50.4% 0.142 140.9);
Tailwind
colors: {
  custom: {
    50: '#6f9f61',
    500: '#2d7720',
    950: '#000000',
  },
}
SCSS
$custom: #2d7720;
$custom-light: #6f9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7720",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 111.034,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.14153,
    "h": 140.9
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#2D7720
secondary
#9C48AA
accent
#47E1CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D7720

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

Preview Lab → · Contrast checker → · Palette generator →

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