#2D792C#2D792C

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

Color values

HEX#2D792C
RGBrgb(45, 121, 44)
HSLhsl(119, 47%, 32%)
HSVhsv(119, 64%, 47%)
CMYKcmyk(62.8%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.82, -39.67, 34.59)
CIE-LCHlch(44.82, 52.64, 138.92°)
OKLaboklab(51.11% -0.1078 0.081)
OKLCHoklch(51.11% 0.135 143.1)
XYZxyz(8.3737, 14.4137, 4.7232)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D792C #782C79
analogous
#53792C #2D792C #2C7952
triadic
#2D792C #2C2D79 #792C2D
tetradic
#2D792C #2C5379 #782C79 #79522C
square
#2D792C #2C5379 #782C79 #79522C
split-complementary
#2D792C #522C79 #792C53
monochromatic
#0C1F0B #1C4C1C #2D792C #3EA63C #5DC45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D792C#FFFFFF#000000##FFFFFF
##2D792C1.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)
#7C6E23
Deuteranopia (green-blind)
#726832
Tritanopia (blue-blind)
#1F7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d792c;
/* rgb */ color: rgb(45, 121, 44);
/* oklch */ color: oklch(51.1% 0.135 143.1);
Tailwind
colors: {
  custom: {
    50: '#6fa068',
    500: '#2d792c',
    950: '#000000',
  },
}
SCSS
$custom: #2d792c;
$custom-light: #6fa068;
$custom-dark: #000000;
JSON
{
  "hex": "#2d792c",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 119.221,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.13486,
    "h": 143.1
  },
  "luminance": 0.14414
}

Semantic roles & 50–950 ramp

primary
#2D792C
secondary
#A957AA
accent
#51D6D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D792C

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

Preview Lab → · Contrast checker → · Palette generator →

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