#2F714D#2F714D

#2F714D is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.5% C 0.089 H 156.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2F714D
RGBrgb(47, 113, 77)
HSLhsl(147, 41%, 31%)
HSVhsv(147, 58%, 44%)
CMYKcmyk(58.4%, 0%, 31.9%, 55.7%)
CIE-LABlab(42.69, -30.10, 13.82)
CIE-LCHlch(42.69, 33.12, 155.34°)
OKLaboklab(49.54% -0.0821 0.035)
OKLCHoklch(49.54% 0.089 156.9)
XYZxyz(8.4163, 12.9496, 9.0757)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F714D #712F53
analogous
#32712F #2F714D #2F716E
triadic
#2F714D #4D2F71 #714D2F
tetradic
#2F714D #2F3271 #712F53 #716E2F
square
#2F714D #2F3271 #712F53 #716E2F
split-complementary
#2F714D #6E2F71 #712F32
monochromatic
#0B1B12 #1D4630 #2F714D #419C6A #5EBC89

Accessibility & contrast

On white

5.85
#2F714D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2F714D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F714D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F714D#FFFFFF#000000##FFFFFF
##2F714D1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694B
Deuteranopia (green-blind)
#67624F
Tritanopia (blue-blind)
#197067
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f714d;
/* rgb */ color: rgb(47, 113, 77);
/* oklch */ color: oklch(49.5% 0.089 156.9);
Tailwind
colors: {
  custom: {
    50: '#6e9a7f',
    500: '#2f714d',
    950: '#000000',
  },
}
SCSS
$custom: #2f714d;
$custom-light: #6e9a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f714d",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 77
  },
  "hsl": {
    "h": 147.273,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49542,
    "c": 0.0893,
    "h": 156.9
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#2F714D
secondary
#A25A81
accent
#5799D1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2F714D

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

Preview Lab → · Contrast checker → · Palette generator →

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