#2D792A#2D792A

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

Color values

HEX#2D792A
RGBrgb(45, 121, 42)
HSLhsl(118, 48%, 32%)
HSVhsv(118, 65%, 47%)
CMYKcmyk(62.8%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.80, -39.91, 35.53)
CIE-LCHlch(44.80, 53.43, 138.33°)
OKLaboklab(51.08% -0.1086 0.0828)
OKLCHoklch(51.08% 0.137 142.7)
XYZxyz(8.3370, 14.3990, 4.5300)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D792A #762A79
analogous
#54792A #2D792A #2A794F
triadic
#2D792A #2A2D79 #792A2D
tetradic
#2D792A #2A5479 #762A79 #794F2A
square
#2D792A #2A5479 #762A79 #794F2A
split-complementary
#2D792A #4F2A79 #792A54
monochromatic
#0B1E0A #1C4C1A #2D792A #3EA63A #5CC558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D792A#FFFFFF#000000##FFFFFF
##2D792A1.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)
#7C6E21
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#207568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d792a;
/* rgb */ color: rgb(45, 121, 42);
/* oklch */ color: oklch(51.1% 0.137 142.7);
Tailwind
colors: {
  custom: {
    50: '#6fa067',
    500: '#2d792a',
    950: '#000000',
  },
}
SCSS
$custom: #2d792a;
$custom-light: #6fa067;
$custom-dark: #000000;
JSON
{
  "hex": "#2d792a",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 117.722,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.13654,
    "h": 142.7
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#2D792A
secondary
#A754AB
accent
#50D8D3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D792A

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

Preview Lab → · Contrast checker → · Palette generator →

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