#336754#336754

#336754 is a mid, moderate teal. Relative luminance 0.110; OKLCH L 47.2% C 0.065 H 167.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#336754
RGBrgb(51, 103, 84)
HSLhsl(158, 34%, 30%)
HSVhsv(158, 50%, 40%)
CMYKcmyk(50.5%, 0%, 18.4%, 59.6%)
CIE-LABlab(39.65, -22.47, 5.40)
CIE-LCHlch(39.65, 23.11, 166.48°)
OKLaboklab(47.17% -0.063 0.0139)
OKLCHoklch(47.17% 0.065 167.6)
XYZxyz(7.8150, 11.0438, 10.1056)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336754 #673346
analogous
#33673A #336754 #336067
triadic
#336754 #543367 #675433
tetradic
#336754 #3A3367 #673346 #606733
square
#336754 #3A3367 #673346 #606733
split-complementary
#336754 #673360 #673A33
monochromatic
#0A1511 #1F3E33 #336754 #479075 #63B295

Accessibility & contrast

On white

6.54
#336754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#336754 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336754
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336754#FFFFFF#000000##FFFFFF
##3367541.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656153
Deuteranopia (green-blind)
#5D5B55
Tritanopia (blue-blind)
#216762
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336754;
/* rgb */ color: rgb(51, 103, 84);
/* oklch */ color: oklch(47.2% 0.065 167.6);
Tailwind
colors: {
  custom: {
    50: '#6e9284',
    500: '#336754',
    950: '#000000',
  },
}
SCSS
$custom: #336754;
$custom-light: #6e9284;
$custom-dark: #000000;
JSON
{
  "hex": "#336754",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 84
  },
  "hsl": {
    "h": 158.077,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.47171,
    "c": 0.06456,
    "h": 167.6
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#336754
secondary
#985E73
accent
#5E85CA
background
#F6F9F8
surface
#ECF1EF
border
#C7CBCA
text
#070D0A
muted
#7A7E7C

Preview Lab

Preview with #336754

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

Preview Lab → · Contrast checker → · Palette generator →

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