#2F714A#2F714A

#2F714A is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.5% C 0.092 H 155.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2F714A
RGBrgb(47, 113, 74)
HSLhsl(145, 41%, 31%)
HSVhsv(145, 58%, 44%)
CMYKcmyk(58.4%, 0%, 34.5%, 55.7%)
CIE-LABlab(42.62, -30.75, 15.50)
CIE-LCHlch(42.62, 34.44, 153.25°)
OKLaboklab(49.47% -0.0837 0.0391)
OKLCHoklch(49.47% 0.092 155)
XYZxyz(8.3128, 12.9083, 8.5307)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F714A #712F56
analogous
#35712F #2F714A #2F716B
triadic
#2F714A #4A2F71 #714A2F
tetradic
#2F714A #2F3571 #712F56 #716B2F
square
#2F714A #2F3571 #712F56 #716B2F
split-complementary
#2F714A #6B2F71 #712F35
monochromatic
#0B1B11 #1D462E #2F714A #419C66 #5EBC85

Accessibility & contrast

On white

5.86
#2F714A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2F714A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F714A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F714A#FFFFFF#000000##FFFFFF
##2F714A1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716948
Deuteranopia (green-blind)
#67624C
Tritanopia (blue-blind)
#1B7067
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f714a;
/* rgb */ color: rgb(47, 113, 74);
/* oklch */ color: oklch(49.5% 0.092 155.0);
Tailwind
colors: {
  custom: {
    50: '#6e9a7c',
    500: '#2f714a',
    950: '#000000',
  },
}
SCSS
$custom: #2f714a;
$custom-light: #6e9a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f714a",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 74
  },
  "hsl": {
    "h": 144.545,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.09236,
    "h": 155
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

primary
#2F714A
secondary
#A25A85
accent
#579FD1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2F714A

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

Preview Lab → · Contrast checker → · Palette generator →

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