#2D7222#2D7222

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

Color values

HEX#2D7222
RGBrgb(45, 114, 34)
HSLhsl(112, 54%, 29%)
HSVhsv(112, 70%, 45%)
CMYKcmyk(60.5%, 0%, 70.2%, 55.3%)
CIE-LABlab(42.32, -37.99, 36.50)
CIE-LCHlch(42.32, 52.68, 136.15°)
OKLaboklab(49.01% -0.1039 0.0839)
OKLCHoklch(49.01% 0.134 141.1)
XYZxyz(7.3879, 12.7074, 3.5765)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7222 #672272
analogous
#557222 #2D7222 #22723F
triadic
#2D7222 #222D72 #72222D
tetradic
#2D7222 #225572 #672272 #723F22
square
#2D7222 #225572 #672272 #723F22
split-complementary
#2D7222 #3F2272 #722255
monochromatic
#091807 #1A4314 #2D7222 #40A130 #58C846

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7222#FFFFFF#000000##FFFFFF
##2D72221.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)
#756717
Deuteranopia (green-blind)
#6C6229
Tritanopia (blue-blind)
#236E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7222;
/* rgb */ color: rgb(45, 114, 34);
/* oklch */ color: oklch(49.0% 0.134 141.1);
Tailwind
colors: {
  custom: {
    50: '#6e9b61',
    500: '#2d7222',
    950: '#000000',
  },
}
SCSS
$custom: #2d7222;
$custom-light: #6e9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7222",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 111.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.13351,
    "h": 141.1
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#2D7222
secondary
#994BA5
accent
#4ADDC9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D7222

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

Preview Lab → · Contrast checker → · Palette generator →

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