#2A792C#2A792C

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

Color values

HEX#2A792C
RGBrgb(42, 121, 44)
HSLhsl(122, 48%, 32%)
HSVhsv(122, 65%, 47%)
CMYKcmyk(65.3%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.73, -40.41, 34.46)
CIE-LCHlch(44.73, 53.11, 139.54°)
OKLaboklab(51.01% -0.1097 0.0807)
OKLCHoklch(51.01% 0.136 143.6)
XYZxyz(8.2464, 14.3480, 4.7173)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A792C #792A77
analogous
#50792A #2A792C #2A7954
triadic
#2A792C #2C2A79 #792C2A
tetradic
#2A792C #2A5079 #792A77 #79542A
square
#2A792C #2A5079 #792A77 #79542A
split-complementary
#2A792C #542A79 #792A50
monochromatic
#0A1E0B #1A4C1B #2A792C #3AA63D #58C55B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A792C#FFFFFF#000000##FFFFFF
##2A792C1.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)
#7B6E23
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#197669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a792c;
/* rgb */ color: rgb(42, 121, 44);
/* oklch */ color: oklch(51.0% 0.136 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ea068',
    500: '#2a792c',
    950: '#000000',
  },
}
SCSS
$custom: #2a792c;
$custom-light: #6ea068;
$custom-dark: #000000;
JSON
{
  "hex": "#2a792c",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 121.519,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51005,
    "c": 0.13618,
    "h": 143.6
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#2A792C
secondary
#AB54A8
accent
#50D5D8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2A792C

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

Preview Lab → · Contrast checker → · Palette generator →

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