#2A794A#2A794A

#2A794A is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.107 H 153.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2A794A
RGBrgb(42, 121, 74)
HSLhsl(144, 48%, 32%)
HSVhsv(144, 65%, 47%)
CMYKcmyk(65.3%, 0%, 38.8%, 52.5%)
CIE-LABlab(45.17, -35.52, 18.88)
CIE-LCHlch(45.17, 40.23, 152.00°)
OKLaboklab(51.51% -0.0962 0.0472)
OKLCHoklch(51.51% 0.107 153.8)
XYZxyz(9.0275, 14.6605, 8.8312)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A794A #792A59
analogous
#32792A #2A794A #2A7972
triadic
#2A794A #4A2A79 #794A2A
tetradic
#2A794A #2A3279 #792A59 #79722A
square
#2A794A #2A3279 #792A59 #79722A
split-complementary
#2A794A #722A79 #792A32
monochromatic
#0A1E12 #1A4C2E #2A794A #3AA666 #58C584

Accessibility & contrast

On white

5.34
#2A794A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2A794A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A794A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A794A#FFFFFF#000000##FFFFFF
##2A794A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F47
Deuteranopia (green-blind)
#6F684D
Tritanopia (blue-blind)
#07786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a794a;
/* rgb */ color: rgb(42, 121, 74);
/* oklch */ color: oklch(51.5% 0.107 153.8);
Tailwind
colors: {
  custom: {
    50: '#6da07d',
    500: '#2a794a',
    950: '#000000',
  },
}
SCSS
$custom: #2a794a;
$custom-light: #6da07d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a794a",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 74
  },
  "hsl": {
    "h": 144.304,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.10713,
    "h": 153.8
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#2A794A
secondary
#AB5488
accent
#50A1D8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2A794A

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

Preview Lab → · Contrast checker → · Palette generator →

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