#336751#336751

#336751 is a mid, moderate teal. Relative luminance 0.110; OKLCH L 47.1% C 0.067 H 164.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#336751
RGBrgb(51, 103, 81)
HSLhsl(155, 34%, 30%)
HSVhsv(155, 50%, 40%)
CMYKcmyk(50.5%, 0%, 21.4%, 59.6%)
CIE-LABlab(39.58, -23.21, 7.12)
CIE-LCHlch(39.58, 24.27, 162.95°)
OKLaboklab(47.08% -0.0646 0.0183)
OKLCHoklch(47.08% 0.067 164.2)
XYZxyz(7.7000, 10.9978, 9.5000)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336751 #673349
analogous
#336737 #336751 #336367
triadic
#336751 #513367 #675133
tetradic
#336751 #373367 #673349 #636733
square
#336751 #373367 #673349 #636733
split-complementary
#336751 #673363 #673733
monochromatic
#0A1511 #1F3E31 #336751 #479071 #63B290

Accessibility & contrast

On white

6.56
#336751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#336751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336751
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336751#FFFFFF#000000##FFFFFF
##3367511.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656150
Deuteranopia (green-blind)
#5D5B52
Tritanopia (blue-blind)
#236761
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336751;
/* rgb */ color: rgb(51, 103, 81);
/* oklch */ color: oklch(47.1% 0.067 164.2);
Tailwind
colors: {
  custom: {
    50: '#6e9381',
    500: '#336751',
    950: '#000000',
  },
}
SCSS
$custom: #336751;
$custom-light: #6e9381;
$custom-dark: #000000;
JSON
{
  "hex": "#336751",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 81
  },
  "hsl": {
    "h": 154.615,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.47083,
    "c": 0.06712,
    "h": 164.2
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#336751
secondary
#985E76
accent
#5E8CCA
background
#F6F9F7
surface
#ECF1EE
border
#C7CBC9
text
#070D0A
muted
#7A7E7C

Preview Lab

Preview with #336751

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

Preview Lab → · Contrast checker → · Palette generator →

#336751 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva