#2A792F#2A792F

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

Color values

HEX#2A792F
RGBrgb(42, 121, 47)
HSLhsl(124, 48%, 32%)
HSVhsv(124, 65%, 47%)
CMYKcmyk(65.3%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.76, -40.03, 33.02)
CIE-LCHlch(44.76, 51.89, 140.48°)
OKLaboklab(51.04% -0.1085 0.0779)
OKLCHoklch(51.04% 0.134 144.3)
XYZxyz(8.3048, 14.3714, 5.0251)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A792F #792A74
analogous
#4D792A #2A792F #2A7956
triadic
#2A792F #2F2A79 #792F2A
tetradic
#2A792F #2A4D79 #792A74 #79562A
square
#2A792F #2A4D79 #792A74 #79562A
split-complementary
#2A792F #562A79 #792A4D
monochromatic
#0A1E0C #1A4C1D #2A792F #3AA641 #58C55F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A792F#FFFFFF#000000##FFFFFF
##2A792F1.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)
#7B6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#187669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a792f;
/* rgb */ color: rgb(42, 121, 47);
/* oklch */ color: oklch(51.0% 0.134 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ea06a',
    500: '#2a792f',
    950: '#000000',
  },
}
SCSS
$custom: #2a792f;
$custom-light: #6ea06a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a792f",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 123.797,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.13357,
    "h": 144.3
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#2A792F
secondary
#AB54A5
accent
#50CFD8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #2A792F

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

Preview Lab → · Contrast checker → · Palette generator →

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