#2D7722#2D7722

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

Color values

HEX#2D7722
RGBrgb(45, 119, 34)
HSLhsl(112, 56%, 30%)
HSVhsv(112, 71%, 47%)
CMYKcmyk(62.2%, 0%, 71.4%, 53.3%)
CIE-LABlab(44.04, -39.97, 38.33)
CIE-LCHlch(44.04, 55.38, 136.20°)
OKLaboklab(50.43% -0.1092 0.0878)
OKLCHoklch(50.43% 0.14 141.2)
XYZxyz(7.9674, 13.8663, 3.7697)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7722 #6C2277
analogous
#587722 #2D7722 #227741
triadic
#2D7722 #222D77 #77222D
tetradic
#2D7722 #225877 #6C2277 #774122
square
#2D7722 #225877 #6C2277 #774122
split-complementary
#2D7722 #412277 #772258
monochromatic
#091807 #1B4714 #2D7722 #3FA730 #59CB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7722#FFFFFF#000000##FFFFFF
##2D77221.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)
#7A6C16
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#227366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d7722;
/* rgb */ color: rgb(45, 119, 34);
/* oklch */ color: oklch(50.4% 0.140 141.2);
Tailwind
colors: {
  custom: {
    50: '#6f9f62',
    500: '#2d7722',
    950: '#000000',
  },
}
SCSS
$custom: #2d7722;
$custom-light: #6f9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7722",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 112.235,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50433,
    "c": 0.14011,
    "h": 141.2
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

primary
#2D7722
secondary
#9E4BAA
accent
#49DFCB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2D7722

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

Preview Lab → · Contrast checker → · Palette generator →

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