#2A792D#2A792D

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

Color values

HEX#2A792D
RGBrgb(42, 121, 45)
HSLhsl(122, 48%, 32%)
HSVhsv(122, 65%, 47%)
CMYKcmyk(65.3%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.74, -40.29, 33.98)
CIE-LCHlch(44.74, 52.71, 139.85°)
OKLaboklab(51.02% -0.1093 0.0798)
OKLCHoklch(51.02% 0.135 143.9)
XYZxyz(8.2654, 14.3556, 4.8174)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A792D #792A76
analogous
#4F792A #2A792D #2A7954
triadic
#2A792D #2D2A79 #792D2A
tetradic
#2A792D #2A4F79 #792A76 #79542A
square
#2A792D #2A4F79 #792A76 #79542A
split-complementary
#2A792D #542A79 #792A4F
monochromatic
#0A1E0B #1A4C1C #2A792D #3AA63E #58C55C

Accessibility & contrast

On white

5.42
#2A792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2A792D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A792D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A792D#FFFFFF#000000##FFFFFF
##2A792D1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E25
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#197669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a792d;
/* rgb */ color: rgb(42, 121, 45);
/* oklch */ color: oklch(51.0% 0.135 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ea069',
    500: '#2a792d',
    950: '#000000',
  },
}
SCSS
$custom: #2a792d;
$custom-light: #6ea069;
$custom-dark: #000000;
JSON
{
  "hex": "#2a792d",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 122.278,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51017,
    "c": 0.13532,
    "h": 143.9
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#2A792D
secondary
#AB54A7
accent
#50D3D8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2A792D

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

Preview Lab → · Contrast checker → · Palette generator →

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