#2D7929#2D7929

#2D7929 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.137 H 142.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2D7929
RGBrgb(45, 121, 41)
HSLhsl(117, 49%, 32%)
HSVhsv(117, 66%, 47%)
CMYKcmyk(62.8%, 0%, 66.1%, 52.5%)
CIE-LABlab(44.79, -40.02, 35.99)
CIE-LCHlch(44.79, 53.82, 138.04°)
OKLaboklab(51.07% -0.1089 0.0837)
OKLCHoklch(51.07% 0.137 142.5)
XYZxyz(8.3194, 14.3920, 4.4369)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7929 #752979
analogous
#557929 #2D7929 #29794D
triadic
#2D7929 #292D79 #79292D
tetradic
#2D7929 #295579 #752979 #794D29
square
#2D7929 #295579 #752979 #794D29
split-complementary
#2D7929 #4D2979 #792955
monochromatic
#0B1E0A #1C4B1A #2D7929 #3EA738 #5CC656

Accessibility & contrast

On white

5.41
#2D7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2D7929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7929
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7929#FFFFFF#000000##FFFFFF
##2D79291.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1F
Deuteranopia (green-blind)
#726730
Tritanopia (blue-blind)
#207568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7929;
/* rgb */ color: rgb(45, 121, 41);
/* oklch */ color: oklch(51.1% 0.137 142.5);
Tailwind
colors: {
  custom: {
    50: '#6fa066',
    500: '#2d7929',
    950: '#000000',
  },
}
SCSS
$custom: #2d7929;
$custom-light: #6fa066;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7929",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 117,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51072,
    "c": 0.13736,
    "h": 142.5
  },
  "luminance": 0.14393
}

Semantic roles & 50–950 ramp

primary
#2D7929
secondary
#A653AB
accent
#4FD9D2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D7929

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

Preview Lab → · Contrast checker → · Palette generator →

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