#2D7220#2D7220

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

Color values

HEX#2D7220
RGBrgb(45, 114, 32)
HSLhsl(110, 56%, 29%)
HSVhsv(110, 72%, 45%)
CMYKcmyk(60.5%, 0%, 71.9%, 55.3%)
CIE-LABlab(42.30, -38.19, 37.36)
CIE-LCHlch(42.30, 53.42, 135.63°)
OKLaboklab(48.99% -0.1045 0.0855)
OKLCHoklch(48.99% 0.135 140.7)
XYZxyz(7.3599, 12.6962, 3.4290)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7220 #652072
analogous
#567220 #2D7220 #20723C
triadic
#2D7220 #202D72 #72202D
tetradic
#2D7220 #205672 #652072 #723C20
square
#2D7220 #205672 #652072 #723C20
split-complementary
#2D7220 #3C2072 #722056
monochromatic
#091807 #1A4213 #2D7220 #40A22D #58CA42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7220#FFFFFF#000000##FFFFFF
##2D72201.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)
#756714
Deuteranopia (green-blind)
#6C6228
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7220;
/* rgb */ color: rgb(45, 114, 32);
/* oklch */ color: oklch(49.0% 0.135 140.7);
Tailwind
colors: {
  custom: {
    50: '#6e9b60',
    500: '#2d7220',
    950: '#000000',
  },
}
SCSS
$custom: #2d7220;
$custom-light: #6e9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7220",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 110.488,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48992,
    "c": 0.135,
    "h": 140.7
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#2D7220
secondary
#9748A6
accent
#48DFC8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D7220

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

Preview Lab → · Contrast checker → · Palette generator →

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