#334F4E#334F4E

#334F4E is a dark, muted teal. Relative luminance 0.068; OKLCH L 40.5% C 0.034 H 193.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#334F4E
RGBrgb(51, 79, 78)
HSLhsl(178, 22%, 25%)
HSVhsv(178, 35%, 31%)
CMYKcmyk(35.4%, 0%, 1.3%, 69%)
CIE-LABlab(31.45, -10.72, -2.77)
CIE-LCHlch(31.45, 11.07, 194.47°)
OKLaboklab(40.51% -0.0328 -0.0076)
OKLCHoklch(40.51% 0.034 193.1)
XYZxyz(5.5359, 6.8455, 8.2359)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F4E #4F3334
analogous
#334F40 #334F4E #33424F
triadic
#334F4E #4E334F #4F4E33
tetradic
#334F4E #40334F #4F3334 #424F33
square
#334F4E #40334F #4F3334 #424F33
split-complementary
#334F4E #4F3342 #4F4033
monochromatic
#0C1312 #1B2A29 #334F4E #4B7473 #639997

Accessibility & contrast

On white

8.86
#334F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#334F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334F4E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334F4E#FFFFFF#000000##FFFFFF
##334F4E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4E
Deuteranopia (green-blind)
#46484E
Tritanopia (blue-blind)
#29514F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #334f4e;
/* rgb */ color: rgb(51, 79, 78);
/* oklch */ color: oklch(40.5% 0.034 193.1);
Tailwind
colors: {
  custom: {
    50: '#6c807f',
    500: '#334f4e',
    950: '#000000',
  },
}
SCSS
$custom: #334f4e;
$custom-light: #6c807f;
$custom-dark: #000000;
JSON
{
  "hex": "#334f4e",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 78
  },
  "hsl": {
    "h": 177.857,
    "s": 21.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.40505,
    "c": 0.03369,
    "h": 193.1
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#334F4E
secondary
#805E5F
accent
#6A6DBE
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#070A0A
muted
#7A7C7C

Preview Lab

Preview with #334F4E

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

Preview Lab → · Contrast checker → · Palette generator →

#334F4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva