#2D7A22#2D7A22

#2D7A22 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.144 H 141.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2D7A22
RGBrgb(45, 122, 34)
HSLhsl(113, 56%, 31%)
HSVhsv(113, 72%, 48%)
CMYKcmyk(63.1%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.07, -41.14, 39.42)
CIE-LCHlch(45.07, 56.97, 136.22°)
OKLaboklab(51.28% -0.1124 0.09)
OKLCHoklch(51.28% 0.144 141.3)
XYZxyz(8.3300, 14.5917, 3.8906)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A22 #6F227A
analogous
#597A22 #2D7A22 #227A43
triadic
#2D7A22 #222D7A #7A222D
tetradic
#2D7A22 #22597A #6F227A #7A4322
square
#2D7A22 #22597A #6F227A #7A4322
split-complementary
#2D7A22 #43227A #7A2259
monochromatic
#0A1A07 #1B4A15 #2D7A22 #3FAA2F #5ACD4A

Accessibility & contrast

On white

5.36
#2D7A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2D7A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A22
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A22#FFFFFF#000000##FFFFFF
##2D7A221.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F15
Deuteranopia (green-blind)
#74682A
Tritanopia (blue-blind)
#217668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a22;
/* rgb */ color: rgb(45, 122, 34);
/* oklch */ color: oklch(51.3% 0.144 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a162',
    500: '#2d7a22',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a22;
$custom-light: #70a162;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a22",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 112.5,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.14399,
    "h": 141.3
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#2D7A22
secondary
#A14BAD
accent
#48E0CD
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2D7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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