#2F7159#2F7159

#2F7159 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.9% C 0.078 H 166.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2F7159
RGBrgb(47, 113, 89)
HSLhsl(158, 41%, 31%)
HSVhsv(158, 58%, 44%)
CMYKcmyk(58.4%, 0%, 21.2%, 55.7%)
CIE-LABlab(42.97, -27.29, 7.08)
CIE-LCHlch(42.97, 28.19, 165.45°)
OKLaboklab(49.86% -0.076 0.0182)
OKLCHoklch(49.86% 0.078 166.6)
XYZxyz(8.8797, 13.1350, 11.5166)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7159 #712F47
analogous
#2F7138 #2F7159 #2F6871
triadic
#2F7159 #592F71 #71592F
tetradic
#2F7159 #382F71 #712F47 #68712F
square
#2F7159 #382F71 #712F47 #68712F
split-complementary
#2F7159 #712F68 #71382F
monochromatic
#0B1B15 #1D4637 #2F7159 #419C7B #5EBC9A

Accessibility & contrast

On white

5.79
#2F7159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2F7159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7159
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7159#FFFFFF#000000##FFFFFF
##2F71591.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6A58
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#10716A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7159;
/* rgb */ color: rgb(47, 113, 89);
/* oklch */ color: oklch(49.9% 0.078 166.6);
Tailwind
colors: {
  custom: {
    50: '#6e9a87',
    500: '#2f7159',
    950: '#000000',
  },
}
SCSS
$custom: #2f7159;
$custom-light: #6e9a87;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7159",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 89
  },
  "hsl": {
    "h": 158.182,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49862,
    "c": 0.07817,
    "h": 166.6
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#2F7159
secondary
#A25A74
accent
#5783D1
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #2F7159

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

Preview Lab → · Contrast checker → · Palette generator →

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