#335F5E#335F5E

#335F5E is a mid, muted teal. Relative luminance 0.097; OKLCH L 45.4% C 0.049 H 193.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#335F5E
RGBrgb(51, 95, 94)
HSLhsl(179, 30%, 29%)
HSVhsv(179, 46%, 37%)
CMYKcmyk(46.3%, 0%, 1.1%, 62.7%)
CIE-LABlab(37.29, -15.46, -4.18)
CIE-LCHlch(37.29, 16.02, 195.13°)
OKLaboklab(45.36% -0.0475 -0.0115)
OKLCHoklch(45.36% 0.049 193.7)
XYZxyz(7.4770, 9.6958, 12.0650)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F5E #5F3334
analogous
#335F48 #335F5E #334A5F
triadic
#335F5E #5E335F #5F5E33
tetradic
#335F5E #48335F #5F3334 #4A5F33
square
#335F5E #48335F #5F3334 #4A5F33
split-complementary
#335F5E #5F334A #5F4833
monochromatic
#0B1414 #1E3737 #335F5E #488785 #62ABA9

Accessibility & contrast

On white

7.14
#335F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#335F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335F5E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F5E#FFFFFF#000000##FFFFFF
##335F5E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5B5E
Deuteranopia (green-blind)
#52555E
Tritanopia (blue-blind)
#1E615F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #335f5e;
/* rgb */ color: rgb(51, 95, 94);
/* oklch */ color: oklch(45.4% 0.049 193.7);
Tailwind
colors: {
  custom: {
    50: '#6e8c8b',
    500: '#335f5e',
    950: '#000000',
  },
}
SCSS
$custom: #335f5e;
$custom-light: #6e8c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#335f5e",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 94
  },
  "hsl": {
    "h": 178.636,
    "s": 30.137,
    "l": 28.627
  },
  "oklch": {
    "l": 0.45361,
    "c": 0.0489,
    "h": 193.7
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#335F5E
secondary
#905E5F
accent
#6164C6
background
#F6F8F8
surface
#ECF0F0
border
#C7CBCB
text
#070C0C
muted
#7A7D7D

Preview Lab

Preview with #335F5E

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

Preview Lab → · Contrast checker → · Palette generator →

#335F5E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva