#2F7151#2F7151

#2F7151 is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.6% C 0.085 H 159.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2F7151
RGBrgb(47, 113, 81)
HSLhsl(151, 41%, 31%)
HSVhsv(151, 58%, 44%)
CMYKcmyk(58.4%, 0%, 28.3%, 55.7%)
CIE-LABlab(42.78, -29.20, 11.58)
CIE-LCHlch(42.78, 31.41, 158.38°)
OKLaboklab(49.64% -0.0801 0.0295)
OKLCHoklch(49.64% 0.085 159.8)
XYZxyz(8.5619, 13.0079, 9.8426)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7151 #712F4F
analogous
#2F7130 #2F7151 #2F7071
triadic
#2F7151 #512F71 #71512F
tetradic
#2F7151 #302F71 #712F4F #70712F
square
#2F7151 #302F71 #712F4F #70712F
split-complementary
#2F7151 #712F70 #71302F
monochromatic
#0B1B13 #1D4632 #2F7151 #419C70 #5EBC8F

Accessibility & contrast

On white

5.83
#2F7151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2F7151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7151
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7151#FFFFFF#000000##FFFFFF
##2F71511.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694F
Deuteranopia (green-blind)
#666253
Tritanopia (blue-blind)
#177168
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7151;
/* rgb */ color: rgb(47, 113, 81);
/* oklch */ color: oklch(49.6% 0.085 159.8);
Tailwind
colors: {
  custom: {
    50: '#6e9a82',
    500: '#2f7151',
    950: '#000000',
  },
}
SCSS
$custom: #2f7151;
$custom-light: #6e9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7151",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 150.909,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49643,
    "c": 0.08537,
    "h": 159.8
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#2F7151
secondary
#A25A7D
accent
#5792D1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2F7151

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

Preview Lab → · Contrast checker → · Palette generator →

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