#2A794E#2A794E

#2A794E is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.6% C 0.103 H 156.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2A794E
RGBrgb(42, 121, 78)
HSLhsl(147, 48%, 32%)
HSVhsv(147, 65%, 47%)
CMYKcmyk(65.3%, 0%, 35.5%, 52.5%)
CIE-LABlab(45.24, -34.68, 16.69)
CIE-LCHlch(45.24, 38.49, 154.31°)
OKLaboklab(51.6% -0.0942 0.042)
OKLCHoklch(51.6% 0.103 156)
XYZxyz(9.1666, 14.7161, 9.5637)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A794E #792A55
analogous
#2E792A #2A794E #2A7976
triadic
#2A794E #4E2A79 #794E2A
tetradic
#2A794E #2A2E79 #792A55 #79762A
square
#2A794E #2A2E79 #792A55 #79762A
split-complementary
#2A794E #762A79 #792A2E
monochromatic
#0A1E13 #1A4C31 #2A794E #3AA66B #58C58A

Accessibility & contrast

On white

5.33
#2A794E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2A794E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A794E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A794E#FFFFFF#000000##FFFFFF
##2A794E1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78704B
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#03786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a794e;
/* rgb */ color: rgb(42, 121, 78);
/* oklch */ color: oklch(51.6% 0.103 156.0);
Tailwind
colors: {
  custom: {
    50: '#6da080',
    500: '#2a794e',
    950: '#000000',
  },
}
SCSS
$custom: #2a794e;
$custom-light: #6da080;
$custom-dark: #000000;
JSON
{
  "hex": "#2a794e",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 78
  },
  "hsl": {
    "h": 147.342,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.10311,
    "h": 156
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#2A794E
secondary
#AB5483
accent
#509AD8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2A794E

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

Preview Lab → · Contrast checker → · Palette generator →

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