#2A792B#2A792B

#2A792B is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.137 H 143.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A792B
RGBrgb(42, 121, 43)
HSLhsl(121, 48%, 32%)
HSVhsv(121, 65%, 47%)
CMYKcmyk(65.3%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.72, -40.53, 34.93)
CIE-LCHlch(44.72, 53.51, 139.24°)
OKLaboklab(50.99% -0.11 0.0816)
OKLCHoklch(50.99% 0.137 143.4)
XYZxyz(8.2278, 14.3406, 4.6194)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A792B #792A78
analogous
#51792A #2A792B #2A7952
triadic
#2A792B #2B2A79 #792B2A
tetradic
#2A792B #2A5179 #792A78 #79522A
square
#2A792B #2A5179 #792A78 #79522A
split-complementary
#2A792B #522A79 #792A51
monochromatic
#0A1E0B #1A4C1B #2A792B #3AA63B #58C55A

Accessibility & contrast

On white

5.43
#2A792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A792B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A792B#FFFFFF#000000##FFFFFF
##2A792B1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E22
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#1A7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a792b;
/* rgb */ color: rgb(42, 121, 43);
/* oklch */ color: oklch(51.0% 0.137 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ea068',
    500: '#2a792b',
    950: '#000000',
  },
}
SCSS
$custom: #2a792b;
$custom-light: #6ea068;
$custom-dark: #000000;
JSON
{
  "hex": "#2a792b",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 120.759,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.13701,
    "h": 143.4
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#2A792B
secondary
#AB54AA
accent
#50D6D8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2A792B

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

Preview Lab → · Contrast checker → · Palette generator →

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