#2D7A20#2D7A20

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

Color values

HEX#2D7A20
RGBrgb(45, 122, 32)
HSLhsl(111, 58%, 30%)
HSVhsv(111, 74%, 48%)
CMYKcmyk(63.1%, 0%, 73.8%, 52.2%)
CIE-LABlab(45.05, -41.32, 40.24)
CIE-LCHlch(45.05, 57.67, 135.76°)
OKLaboklab(51.27% -0.113 0.0915)
OKLCHoklch(51.27% 0.145 141)
XYZxyz(8.3020, 14.5805, 3.7430)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A20 #6D207A
analogous
#5A7A20 #2D7A20 #207A40
triadic
#2D7A20 #202D7A #7A202D
tetradic
#2D7A20 #205A7A #6D207A #7A4020
square
#2D7A20 #205A7A #6D207A #7A4020
split-complementary
#2D7A20 #40207A #7A205A
monochromatic
#091907 #1B4A13 #2D7A20 #3FAA2D #5ACE46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7A20#FFFFFF#000000##FFFFFF
##2D7A201.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)
#7D6F11
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#217668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a20;
/* rgb */ color: rgb(45, 122, 32);
/* oklch */ color: oklch(51.3% 0.145 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a161',
    500: '#2d7a20',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a20;
$custom-light: #70a161;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a20",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 111.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.14537,
    "h": 141
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

primary
#2D7A20
secondary
#9F49AD
accent
#46E2CB
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7A20

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

Preview Lab → · Contrast checker → · Palette generator →

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