#2E704D#2E704D

#2E704D is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.2% C 0.088 H 157.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2E704D
RGBrgb(46, 112, 77)
HSLhsl(148, 42%, 31%)
HSVhsv(148, 59%, 44%)
CMYKcmyk(58.9%, 0%, 31.2%, 56.1%)
CIE-LABlab(42.31, -29.89, 13.30)
CIE-LCHlch(42.31, 32.71, 156.01°)
OKLaboklab(49.23% -0.0816 0.0338)
OKLCHoklch(49.23% 0.088 157.5)
XYZxyz(8.2597, 12.7042, 9.0366)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E704D #702E51
analogous
#30702E #2E704D #2E706E
triadic
#2E704D #4D2E70 #704D2E
tetradic
#2E704D #2E3070 #702E51 #706E2E
square
#2E704D #2E3070 #702E51 #706E2E
split-complementary
#2E704D #6E2E70 #702E30
monochromatic
#0A1911 #1C452F #2E704D #409B6B #5CBC89

Accessibility & contrast

On white

5.93
#2E704D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2E704D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E704D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E704D#FFFFFF#000000##FFFFFF
##2E704D1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684B
Deuteranopia (green-blind)
#66614F
Tritanopia (blue-blind)
#176F67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e704d;
/* rgb */ color: rgb(46, 112, 77);
/* oklch */ color: oklch(49.2% 0.088 157.5);
Tailwind
colors: {
  custom: {
    50: '#6d997f',
    500: '#2e704d',
    950: '#000000',
  },
}
SCSS
$custom: #2e704d;
$custom-light: #6d997f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e704d",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 77
  },
  "hsl": {
    "h": 148.182,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.08832,
    "h": 157.5
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#2E704D
secondary
#A1587F
accent
#5698D2
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2E704D

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

Preview Lab → · Contrast checker → · Palette generator →

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