#2D7B20#2D7B20

#2D7B20 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.147 H 141.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2D7B20
RGBrgb(45, 123, 32)
HSLhsl(111, 59%, 30%)
HSVhsv(111, 74%, 48%)
CMYKcmyk(63.4%, 0%, 74%, 51.8%)
CIE-LABlab(45.40, -41.70, 40.59)
CIE-LCHlch(45.40, 58.19, 135.78°)
OKLaboklab(51.55% -0.114 0.0922)
OKLCHoklch(51.55% 0.147 141)
XYZxyz(8.4254, 14.8273, 3.7842)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B20 #6E207B
analogous
#5A7B20 #2D7B20 #207B41
triadic
#2D7B20 #202D7B #7B202D
tetradic
#2D7B20 #205A7B #6E207B #7B4120
square
#2D7B20 #205A7B #6E207B #7B4120
split-complementary
#2D7B20 #41207B #7B205A
monochromatic
#091A07 #1B4A13 #2D7B20 #3FAC2D #5ACF46

Accessibility & contrast

On white

5.30
#2D7B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2D7B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B20
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B20#FFFFFF#000000##FFFFFF
##2D7B201.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#217769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7b20;
/* rgb */ color: rgb(45, 123, 32);
/* oklch */ color: oklch(51.5% 0.147 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a261',
    500: '#2d7b20',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b20;
$custom-light: #70a261;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b20",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 111.429,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51549,
    "c": 0.14665,
    "h": 141
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#2D7B20
secondary
#A049AE
accent
#46E2CC
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7B20

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

Preview Lab → · Contrast checker → · Palette generator →

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