#2F7462#2F7462

#2F7462 is a mid, moderate teal. Relative luminance 0.140; OKLCH L 50.9% C 0.076 H 173.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2F7462
RGBrgb(47, 116, 98)
HSLhsl(164, 42%, 32%)
HSVhsv(164, 59%, 45%)
CMYKcmyk(59.5%, 0%, 15.5%, 54.5%)
CIE-LABlab(44.20, -26.45, 3.47)
CIE-LCHlch(44.20, 26.68, 172.54°)
OKLaboklab(50.94% -0.0751 0.0088)
OKLCHoklch(50.94% 0.076 173.3)
XYZxyz(9.6213, 13.9760, 13.7435)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7462 #742F41
analogous
#2F7440 #2F7462 #2F6474
triadic
#2F7462 #622F74 #74622F
tetradic
#2F7462 #402F74 #742F41 #64742F
square
#2F7462 #402F74 #742F41 #64742F
split-complementary
#2F7462 #742F64 #74402F
monochromatic
#0C1D18 #1D483D #2F7462 #41A087 #5FBEA5

Accessibility & contrast

On white

5.53
#2F7462 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2F7462 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7462
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7462#FFFFFF#000000##FFFFFF
##2F74621.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706D61
Deuteranopia (green-blind)
#666563
Tritanopia (blue-blind)
#01756F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7462;
/* rgb */ color: rgb(47, 116, 98);
/* oklch */ color: oklch(50.9% 0.076 173.3);
Tailwind
colors: {
  custom: {
    50: '#6f9c8e',
    500: '#2f7462',
    950: '#000000',
  },
}
SCSS
$custom: #2f7462;
$custom-light: #6f9c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7462",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 98
  },
  "hsl": {
    "h": 164.348,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.0756,
    "h": 173.3
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#2F7462
secondary
#A55A6D
accent
#5676D2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2F7462

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

Preview Lab → · Contrast checker → · Palette generator →

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