#2D792D#2D792D

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

Color values

HEX#2D792D
RGBrgb(45, 121, 45)
HSLhsl(120, 46%, 33%)
HSVhsv(120, 63%, 47%)
CMYKcmyk(62.8%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.83, -39.55, 34.11)
CIE-LCHlch(44.83, 52.23, 139.22°)
OKLaboklab(51.12% -0.1074 0.0801)
OKLCHoklch(51.12% 0.134 143.3)
XYZxyz(8.3927, 14.4213, 4.8234)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D792D #792D79
analogous
#53792D #2D792D #2D7953
triadic
#2D792D #2D2D79 #792D2D
tetradic
#2D792D #2D5379 #792D79 #79532D
square
#2D792D #2D5379 #792D79 #79532D
split-complementary
#2D792D #532D79 #792D53
monochromatic
#0C200C #1C4C1C #2D792D #3EA63E #5DC35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D792D#FFFFFF#000000##FFFFFF
##2D792D1.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)
#7C6E25
Deuteranopia (green-blind)
#726833
Tritanopia (blue-blind)
#1F7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d792d;
/* rgb */ color: rgb(45, 121, 45);
/* oklch */ color: oklch(51.1% 0.134 143.3);
Tailwind
colors: {
  custom: {
    50: '#6fa069',
    500: '#2d792d',
    950: '#000000',
  },
}
SCSS
$custom: #2d792d;
$custom-light: #6fa069;
$custom-dark: #000000;
JSON
{
  "hex": "#2d792d",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5112,
    "c": 0.13401,
    "h": 143.3
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

primary
#2D792D
secondary
#A958A9
accent
#52D5D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D792D

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

Preview Lab → · Contrast checker → · Palette generator →

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