#2F7E4E#2F7E4E

#2F7E4E is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.1% C 0.108 H 153.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F7E4E
RGBrgb(47, 126, 78)
HSLhsl(144, 46%, 34%)
HSVhsv(144, 63%, 49%)
CMYKcmyk(62.7%, 0%, 38.1%, 50.6%)
CIE-LABlab(47.07, -35.76, 19.17)
CIE-LCHlch(47.07, 40.58, 151.81°)
OKLaboklab(53.14% -0.0969 0.048)
OKLCHoklch(53.14% 0.108 153.7)
XYZxyz(10.0075, 16.0751, 9.7817)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E4E #7E2F5F
analogous
#387E2F #2F7E4E #2F7E76
triadic
#2F7E4E #4E2F7E #7E4E2F
tetradic
#2F7E4E #2F387E #7E2F5F #7E762F
square
#2F7E4E #2F387E #7E2F5F #7E762F
split-complementary
#2F7E4E #762F7E #7E2F38
monochromatic
#0E2517 #1E5132 #2F7E4E #40AB6A #63C589

Accessibility & contrast

On white

4.98
#2F7E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2F7E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E4E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E4E#FFFFFF#000000##FFFFFF
##2F7E4E1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744B
Deuteranopia (green-blind)
#736D51
Tritanopia (blue-blind)
#127C72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7e4e;
/* rgb */ color: rgb(47, 126, 78);
/* oklch */ color: oklch(53.1% 0.108 153.7);
Tailwind
colors: {
  custom: {
    50: '#70a480',
    500: '#2f7e4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e4e;
$custom-light: #70a480;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e4e",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 143.544,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53141,
    "c": 0.10815,
    "h": 153.7
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#2F7E4E
secondary
#AC5D8D
accent
#52A2D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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