#2D7E22#2D7E22

#2D7E22 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.149 H 141.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2D7E22
RGBrgb(45, 126, 34)
HSLhsl(113, 58%, 31%)
HSVhsv(113, 73%, 49%)
CMYKcmyk(64.3%, 0%, 73%, 50.6%)
CIE-LABlab(46.44, -42.66, 40.85)
CIE-LCHlch(46.44, 59.06, 136.25°)
OKLaboklab(52.41% -0.1165 0.093)
OKLCHoklch(52.41% 0.149 141.4)
XYZxyz(8.8313, 15.5942, 4.0577)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E22 #73227E
analogous
#5B7E22 #2D7E22 #227E45
triadic
#2D7E22 #222D7E #7E222D
tetradic
#2D7E22 #225B7E #73227E #7E4522
square
#2D7E22 #225B7E #73227E #7E4522
split-complementary
#2D7E22 #45227E #7E225B
monochromatic
#0B1E08 #1C4E15 #2D7E22 #3EAE2F #5BCF4C

Accessibility & contrast

On white

5.10
#2D7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2D7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E22
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E22#FFFFFF#000000##FFFFFF
##2D7E221.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#207A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e22;
/* rgb */ color: rgb(45, 126, 34);
/* oklch */ color: oklch(52.4% 0.149 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a463',
    500: '#2d7e22',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e22;
$custom-light: #71a463;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e22",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 112.826,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.14909,
    "h": 141.4
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#2D7E22
secondary
#A44BB1
accent
#47E1CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2D7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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