#2D7A1D#2D7A1D

#2D7A1D is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.147 H 140.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2D7A1D
RGBrgb(45, 122, 29)
HSLhsl(110, 62%, 30%)
HSVhsv(110, 76%, 48%)
CMYKcmyk(63.1%, 0%, 76.2%, 52.2%)
CIE-LABlab(45.03, -41.57, 41.41)
CIE-LCHlch(45.03, 58.68, 135.11°)
OKLaboklab(51.24% -0.1138 0.0935)
OKLCHoklch(51.24% 0.147 140.6)
XYZxyz(8.2631, 14.5649, 3.5380)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A1D #6A1D7A
analogous
#5C7A1D #2D7A1D #1D7A3B
triadic
#2D7A1D #1D2D7A #7A1D2D
tetradic
#2D7A1D #1D5C7A #6A1D7A #7A3B1D
square
#2D7A1D #1D5C7A #6A1D7A #7A3B1D
split-complementary
#2D7A1D #3B1D7A #7A1D5C
monochromatic
#091906 #1B4911 #2D7A1D #3FAB29 #59D240

Accessibility & contrast

On white

5.37
#2D7A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2D7A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A1D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A1D#FFFFFF#000000##FFFFFF
##2D7A1D1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0B
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#227668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a1d;
/* rgb */ color: rgb(45, 122, 29);
/* oklch */ color: oklch(51.2% 0.147 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a160',
    500: '#2d7a1d',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a1d;
$custom-light: #70a160;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a1d",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 109.677,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.14732,
    "h": 140.6
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#2D7A1D
secondary
#9C45AE
accent
#43E5C9
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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