#2F7262#2F7262

#2F7262 is a mid, moderate teal. Relative luminance 0.135; OKLCH L 50.4% C 0.073 H 175.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F7262
RGBrgb(47, 114, 98)
HSLhsl(166, 42%, 32%)
HSVhsv(166, 59%, 45%)
CMYKcmyk(58.8%, 0%, 14%, 55.3%)
CIE-LABlab(43.54, -25.45, 2.51)
CIE-LCHlch(43.54, 25.58, 174.37°)
OKLaboklab(50.4% -0.0727 0.0063)
OKLCHoklch(50.4% 0.073 175.1)
XYZxyz(9.3932, 13.5199, 13.6675)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7262 #722F3F
analogous
#2F7241 #2F7262 #2F6172
triadic
#2F7262 #622F72 #72622F
tetradic
#2F7262 #412F72 #722F3F #61722F
square
#2F7262 #412F72 #722F3F #61722F
split-complementary
#2F7262 #722F61 #72412F
monochromatic
#0B1B17 #1D473D #2F7262 #419D87 #5FBDA6

Accessibility & contrast

On white

5.67
#2F7262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F7262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7262
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7262#FFFFFF#000000##FFFFFF
##2F72621.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6B61
Deuteranopia (green-blind)
#646463
Tritanopia (blue-blind)
#03736D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7262;
/* rgb */ color: rgb(47, 114, 98);
/* oklch */ color: oklch(50.4% 0.073 175.1);
Tailwind
colors: {
  custom: {
    50: '#6e9b8e',
    500: '#2f7262',
    950: '#000000',
  },
}
SCSS
$custom: #2f7262;
$custom-light: #6e9b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7262",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 98
  },
  "hsl": {
    "h": 165.672,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50404,
    "c": 0.07295,
    "h": 175.1
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#2F7262
secondary
#A35A6B
accent
#5674D1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2F7262

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

Preview Lab → · Contrast checker → · Palette generator →

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