#2F7362#2F7362

#2F7362 is a mid, moderate teal. Relative luminance 0.137; OKLCH L 50.7% C 0.074 H 174.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2F7362
RGBrgb(47, 115, 98)
HSLhsl(165, 42%, 32%)
HSVhsv(165, 59%, 45%)
CMYKcmyk(59.1%, 0%, 14.8%, 54.9%)
CIE-LABlab(43.87, -25.95, 2.99)
CIE-LCHlch(43.87, 26.13, 173.43°)
OKLaboklab(50.67% -0.0739 0.0075)
OKLCHoklch(50.67% 0.074 174.2)
XYZxyz(9.5066, 13.7467, 13.7053)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7362 #732F40
analogous
#2F7340 #2F7362 #2F6273
triadic
#2F7362 #622F73 #73622F
tetradic
#2F7362 #402F73 #732F40 #62732F
square
#2F7362 #402F73 #732F40 #62732F
split-complementary
#2F7362 #732F62 #73402F
monochromatic
#0B1C18 #1D483D #2F7362 #419E87 #5FBEA6

Accessibility & contrast

On white

5.60
#2F7362 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2F7362 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7362
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7362#FFFFFF#000000##FFFFFF
##2F73621.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6C61
Deuteranopia (green-blind)
#656563
Tritanopia (blue-blind)
#02746E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7362;
/* rgb */ color: rgb(47, 115, 98);
/* oklch */ color: oklch(50.7% 0.074 174.2);
Tailwind
colors: {
  custom: {
    50: '#6f9b8e',
    500: '#2f7362',
    950: '#000000',
  },
}
SCSS
$custom: #2f7362;
$custom-light: #6f9b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7362",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 98
  },
  "hsl": {
    "h": 165,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.07427,
    "h": 174.2
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#2F7362
secondary
#A45A6C
accent
#5675D2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2F7362

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

Preview Lab → · Contrast checker → · Palette generator →

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