#338276#338276

#338276 is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.4% C 0.079 H 181.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#338276
RGBrgb(51, 130, 118)
HSLhsl(171, 44%, 35%)
HSVhsv(171, 61%, 51%)
CMYKcmyk(60.8%, 0%, 9.2%, 49%)
CIE-LABlab(49.47, -27.13, -0.70)
CIE-LCHlch(49.47, 27.14, 181.49°)
OKLaboklab(55.45% -0.0792 -0.0023)
OKLCHoklch(55.45% 0.079 181.7)
XYZxyz(12.6164, 17.9758, 19.9408)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338276 #82333F
analogous
#33824E #338276 #336682
triadic
#338276 #763382 #827633
tetradic
#338276 #4E3382 #82333F #668233
square
#338276 #4E3382 #82333F #668233
split-complementary
#338276 #823366 #824E33
monochromatic
#112A26 #22564E #338276 #44AE9E #6BC5B7

Accessibility & contrast

On white

4.57
#338276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#338276 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338276
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338276#FFFFFF#000000##000000
##3382761.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7B76
Deuteranopia (green-blind)
#707277
Tritanopia (blue-blind)
#00847E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338276;
/* rgb */ color: rgb(51, 130, 118);
/* oklch */ color: oklch(55.4% 0.079 181.7);
Tailwind
colors: {
  custom: {
    50: '#74a79d',
    500: '#338276',
    950: '#000000',
  },
}
SCSS
$custom: #338276;
$custom-light: #74a79d;
$custom-dark: #000000;
JSON
{
  "hex": "#338276",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 118
  },
  "hsl": {
    "h": 170.886,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55446,
    "c": 0.07925,
    "h": 181.7
  },
  "luminance": 0.17977
}

Semantic roles & 50–950 ramp

primary
#338276
secondary
#AD646F
accent
#5468D3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #338276

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

Preview Lab → · Contrast checker → · Palette generator →

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