#2C794E#2C794E

#2C794E is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.102 H 155.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2C794E
RGBrgb(44, 121, 78)
HSLhsl(146, 47%, 32%)
HSVhsv(146, 64%, 47%)
CMYKcmyk(63.6%, 0%, 35.5%, 52.5%)
CIE-LABlab(45.30, -34.25, 16.78)
CIE-LCHlch(45.30, 38.14, 153.90°)
OKLaboklab(51.66% -0.093 0.0422)
OKLCHoklch(51.66% 0.102 155.6)
XYZxyz(9.2504, 14.7594, 9.5676)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C794E #792C57
analogous
#30792C #2C794E #2C7975
triadic
#2C794E #4E2C79 #794E2C
tetradic
#2C794E #2C3079 #792C57 #79752C
square
#2C794E #2C3079 #792C57 #79752C
split-complementary
#2C794E #752C79 #792C30
monochromatic
#0B1F14 #1C4C31 #2C794E #3CA66B #5CC48A

Accessibility & contrast

On white

5.31
#2C794E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2C794E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C794E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C794E#FFFFFF#000000##FFFFFF
##2C794E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c794e;
/* rgb */ color: rgb(44, 121, 78);
/* oklch */ color: oklch(51.7% 0.102 155.6);
Tailwind
colors: {
  custom: {
    50: '#6ea080',
    500: '#2c794e',
    950: '#000000',
  },
}
SCSS
$custom: #2c794e;
$custom-light: #6ea080;
$custom-dark: #000000;
JSON
{
  "hex": "#2c794e",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 78
  },
  "hsl": {
    "h": 146.494,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51663,
    "c": 0.10213,
    "h": 155.6
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#2C794E
secondary
#AA5785
accent
#519CD6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2C794E

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

Preview Lab → · Contrast checker → · Palette generator →

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