#2D7A1C#2D7A1C

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

Color values

HEX#2D7A1C
RGBrgb(45, 122, 28)
HSLhsl(109, 63%, 29%)
HSVhsv(109, 77%, 48%)
CMYKcmyk(63.1%, 0%, 77%, 52.2%)
CIE-LABlab(45.03, -41.65, 41.78)
CIE-LCHlch(45.03, 59.00, 134.91°)
OKLaboklab(51.23% -0.1141 0.0941)
OKLCHoklch(51.23% 0.148 140.5)
XYZxyz(8.2509, 14.5600, 3.4739)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A1C #691C7A
analogous
#5C7A1C #2D7A1C #1C7A3A
triadic
#2D7A1C #1C2D7A #7A1C2D
tetradic
#2D7A1C #1C5C7A #691C7A #7A3A1C
square
#2D7A1C #1C5C7A #691C7A #7A3A1C
split-complementary
#2D7A1C #3A1C7A #7A1C5C
monochromatic
#091906 #1B4811 #2D7A1C #3FAC27 #59D33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7A1C#FFFFFF#000000##FFFFFF
##2D7A1C1.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)
#7D6E09
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#227668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a1c;
/* rgb */ color: rgb(45, 122, 28);
/* oklch */ color: oklch(51.2% 0.148 140.5);
Tailwind
colors: {
  custom: {
    50: '#70a15f',
    500: '#2d7a1c',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a1c;
$custom-light: #70a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a1c",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 109.149,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.14794,
    "h": 140.5
  },
  "luminance": 0.14561
}

Semantic roles & 50–950 ramp

primary
#2D7A1C
secondary
#9B44AE
accent
#42E6C8
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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