#2E794E#2E794E

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

Color values

HEX#2E794E
RGBrgb(46, 121, 78)
HSLhsl(146, 45%, 33%)
HSVhsv(146, 62%, 47%)
CMYKcmyk(62%, 0%, 35.5%, 52.5%)
CIE-LABlab(45.37, -33.79, 16.87)
CIE-LCHlch(45.37, 37.77, 153.46°)
OKLaboklab(51.73% -0.0918 0.0425)
OKLCHoklch(51.73% 0.101 155.2)
XYZxyz(9.3385, 14.8047, 9.5717)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E794E #792E59
analogous
#33792E #2E794E #2E7973
triadic
#2E794E #4E2E79 #794E2E
tetradic
#2E794E #2E3379 #792E59 #79732E
square
#2E794E #2E3379 #792E59 #79732E
split-complementary
#2E794E #732E79 #792E33
monochromatic
#0C2015 #1D4D31 #2E794E #3FA56B #5FC289

Accessibility & contrast

On white

5.30
#2E794E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2E794E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E794E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E794E#FFFFFF#000000##FFFFFF
##2E794E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704B
Deuteranopia (green-blind)
#6E6951
Tritanopia (blue-blind)
#12786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e794e;
/* rgb */ color: rgb(46, 121, 78);
/* oklch */ color: oklch(51.7% 0.101 155.2);
Tailwind
colors: {
  custom: {
    50: '#6fa080',
    500: '#2e794e',
    950: '#000000',
  },
}
SCSS
$custom: #2e794e;
$custom-light: #6fa080;
$custom-dark: #000000;
JSON
{
  "hex": "#2e794e",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 78
  },
  "hsl": {
    "h": 145.6,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51732,
    "c": 0.10113,
    "h": 155.2
  },
  "luminance": 0.14806
}

Semantic roles & 50–950 ramp

primary
#2E794E
secondary
#A95A87
accent
#539DD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2E794E

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

Preview Lab → · Contrast checker → · Palette generator →

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