#2F6151#2F6151

#2F6151 is a mid, moderate teal. Relative luminance 0.097; OKLCH L 45.3% C 0.061 H 170.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2F6151
RGBrgb(47, 97, 81)
HSLhsl(161, 35%, 28%)
HSVhsv(161, 52%, 38%)
CMYKcmyk(51.5%, 0%, 16.5%, 62%)
CIE-LABlab(37.38, -21.21, 3.97)
CIE-LCHlch(37.38, 21.58, 169.41°)
OKLaboklab(45.26% -0.0599 0.0101)
OKLCHoklch(45.26% 0.061 170.4)
XYZxyz(6.9315, 9.7472, 9.2991)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6151 #612F3F
analogous
#2F6138 #2F6151 #2F5861
triadic
#2F6151 #512F61 #61512F
tetradic
#2F6151 #382F61 #612F3F #58612F
square
#2F6151 #382F61 #612F3F #58612F
split-complementary
#2F6151 #612F58 #61382F
monochromatic
#0A1511 #1B382F #2F6151 #438A73 #5BAF94

Accessibility & contrast

On white

7.12
#2F6151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2F6151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6151
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6151#FFFFFF#000000##FFFFFF
##2F61511.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5B50
Deuteranopia (green-blind)
#575652
Tritanopia (blue-blind)
#1C625C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f6151;
/* rgb */ color: rgb(47, 97, 81);
/* oklch */ color: oklch(45.3% 0.061 170.4);
Tailwind
colors: {
  custom: {
    50: '#6b8e81',
    500: '#2f6151',
    950: '#000000',
  },
}
SCSS
$custom: #2f6151;
$custom-light: #6b8e81;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6151",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 81
  },
  "hsl": {
    "h": 160.8,
    "s": 34.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45257,
    "c": 0.0608,
    "h": 170.4
  },
  "luminance": 0.09748
}

Semantic roles & 50–950 ramp

primary
#2F6151
secondary
#93596C
accent
#5D80CB
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070C0A
muted
#7A7D7C

Preview Lab

Preview with #2F6151

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

Preview Lab → · Contrast checker → · Palette generator →

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