#2D7C32#2D7C32

#2D7C32 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.134 H 144.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2D7C32
RGBrgb(45, 124, 50)
HSLhsl(124, 47%, 33%)
HSVhsv(124, 64%, 49%)
CMYKcmyk(63.7%, 0%, 59.7%, 51.4%)
CIE-LABlab(45.91, -40.10, 32.88)
CIE-LCHlch(45.91, 51.86, 140.65°)
OKLaboklab(52.03% -0.1087 0.0779)
OKLCHoklch(52.03% 0.134 144.4)
XYZxyz(8.8650, 15.2026, 5.4842)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C32 #7C2D77
analogous
#4F7C2D #2D7C32 #2D7C59
triadic
#2D7C32 #322D7C #7C322D
tetradic
#2D7C32 #2D4F7C #7C2D77 #7C592D
square
#2D7C32 #2D4F7C #7C2D77 #7C592D
split-complementary
#2D7C32 #592D7C #7C2D4F
monochromatic
#0C220E #1D4F20 #2D7C32 #3DA944 #5FC565

Accessibility & contrast

On white

5.20
#2D7C32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2D7C32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C32
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C32#FFFFFF#000000##FFFFFF
##2D7C321.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712B
Deuteranopia (green-blind)
#746A38
Tritanopia (blue-blind)
#1C796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7c32;
/* rgb */ color: rgb(45, 124, 50);
/* oklch */ color: oklch(52.0% 0.134 144.4);
Tailwind
colors: {
  custom: {
    50: '#70a36c',
    500: '#2d7c32',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c32;
$custom-light: #70a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c32",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 50
  },
  "hsl": {
    "h": 123.797,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.13372,
    "h": 144.4
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#2D7C32
secondary
#AB5AA6
accent
#51CED6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7C32

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

Preview Lab → · Contrast checker → · Palette generator →

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