#2D7C20#2D7C20

#2D7C20 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.148 H 141.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2D7C20
RGBrgb(45, 124, 32)
HSLhsl(112, 59%, 31%)
HSVhsv(112, 74%, 49%)
CMYKcmyk(63.7%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.74, -42.08, 40.94)
CIE-LCHlch(45.74, 58.71, 135.79°)
OKLaboklab(51.83% -0.115 0.093)
OKLCHoklch(51.83% 0.148 141.1)
XYZxyz(8.5501, 15.0767, 3.8257)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C20 #6F207C
analogous
#5B7C20 #2D7C20 #207C41
triadic
#2D7C20 #202D7C #7C202D
tetradic
#2D7C20 #205B7C #6F207C #7C4120
square
#2D7C20 #205B7C #6F207C #7C4120
split-complementary
#2D7C20 #41207C #7C205B
monochromatic
#0A1B07 #1B4B13 #2D7C20 #3FAD2D #5ACF47

Accessibility & contrast

On white

5.23
#2D7C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2D7C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C20
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C20#FFFFFF#000000##FFFFFF
##2D7C201.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#21786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7c20;
/* rgb */ color: rgb(45, 124, 32);
/* oklch */ color: oklch(51.8% 0.148 141.1);
Tailwind
colors: {
  custom: {
    50: '#71a361',
    500: '#2d7c20',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c20;
$custom-light: #71a361;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c20",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 111.522,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.14791,
    "h": 141.1
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#2D7C20
secondary
#A149AF
accent
#46E2CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2D7C20

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

Preview Lab → · Contrast checker → · Palette generator →

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