#2A792E#2A792E

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

Color values

HEX#2A792E
RGBrgb(42, 121, 46)
HSLhsl(123, 48%, 32%)
HSVhsv(123, 65%, 47%)
CMYKcmyk(65.3%, 0%, 62%, 52.5%)
CIE-LABlab(44.75, -40.16, 33.50)
CIE-LCHlch(44.75, 52.30, 140.16°)
OKLaboklab(51.03% -0.1089 0.0789)
OKLCHoklch(51.03% 0.134 144.1)
XYZxyz(8.2849, 14.3634, 4.9201)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A792E #792A75
analogous
#4E792A #2A792E #2A7956
triadic
#2A792E #2E2A79 #792E2A
tetradic
#2A792E #2A4E79 #792A75 #79562A
square
#2A792E #2A4E79 #792A75 #79562A
split-complementary
#2A792E #562A79 #792A4E
monochromatic
#0A1E0B #1A4C1D #2A792E #3AA63F #58C55E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A792E#FFFFFF#000000##FFFFFF
##2A792E1.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)
#7B6E26
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#197669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a792e;
/* rgb */ color: rgb(42, 121, 46);
/* oklch */ color: oklch(51.0% 0.134 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ea069',
    500: '#2a792e',
    950: '#000000',
  },
}
SCSS
$custom: #2a792e;
$custom-light: #6ea069;
$custom-dark: #000000;
JSON
{
  "hex": "#2a792e",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 123.038,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.13445,
    "h": 144.1
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#2A792E
secondary
#AB54A6
accent
#50D1D8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2A792E

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

Preview Lab → · Contrast checker → · Palette generator →

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