#338076#338076

#338076 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.9% C 0.077 H 183.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#338076
RGBrgb(51, 128, 118)
HSLhsl(172, 43%, 35%)
HSVhsv(172, 60%, 50%)
CMYKcmyk(60.2%, 0%, 7.8%, 49.8%)
CIE-LABlab(48.82, -26.13, -1.65)
CIE-LCHlch(48.82, 26.18, 183.61°)
OKLaboklab(54.92% -0.0769 -0.0049)
OKLCHoklch(54.92% 0.077 183.6)
XYZxyz(12.3530, 17.4489, 19.8530)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338076 #80333D
analogous
#338050 #338076 #336380
triadic
#338076 #763380 #807633
tetradic
#338076 #503380 #80333D #638033
square
#338076 #503380 #80333D #638033
split-complementary
#338076 #803363 #805033
monochromatic
#102825 #22544E #338076 #44AC9E #6AC4B8

Accessibility & contrast

On white

4.68
#338076 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#338076 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338076
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338076#FFFFFF#000000##FFFFFF
##3380761.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7976
Deuteranopia (green-blind)
#6E7077
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338076;
/* rgb */ color: rgb(51, 128, 118);
/* oklch */ color: oklch(54.9% 0.077 183.6);
Tailwind
colors: {
  custom: {
    50: '#73a59d',
    500: '#338076',
    950: '#000000',
  },
}
SCSS
$custom: #338076;
$custom-light: #73a59d;
$custom-dark: #000000;
JSON
{
  "hex": "#338076",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 118
  },
  "hsl": {
    "h": 172.208,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.07705,
    "h": 183.6
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#338076
secondary
#AB636D
accent
#5565D3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #338076

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

Preview Lab → · Contrast checker → · Palette generator →

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