#338872#338872

#338872 is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.9% C 0.089 H 173.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#338872
RGBrgb(51, 136, 114)
HSLhsl(164, 45%, 37%)
HSVhsv(164, 63%, 53%)
CMYKcmyk(62.5%, 0%, 16.2%, 46.7%)
CIE-LABlab(51.30, -31.11, 4.29)
CIE-LCHlch(51.30, 31.40, 172.15°)
OKLaboklab(56.9% -0.0881 0.0109)
OKLCHoklch(56.9% 0.089 173)
XYZxyz(13.2052, 19.5257, 18.9892)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338872 #883349
analogous
#338848 #338872 #337488
triadic
#338872 #723388 #887233
tetradic
#338872 #483388 #883349 #748833
square
#338872 #483388 #883349 #748833
split-complementary
#338872 #883374 #884833
monochromatic
#122F27 #225B4D #338872 #44B597 #6DC8B1

Accessibility & contrast

On white

4.28
#338872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#338872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338872
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338872#FFFFFF#000000##000000
##3388721.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#848071
Deuteranopia (green-blind)
#777774
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338872;
/* rgb */ color: rgb(51, 136, 114);
/* oklch */ color: oklch(56.9% 0.089 173.0);
Tailwind
colors: {
  custom: {
    50: '#74ab9a',
    500: '#338872',
    950: '#000000',
  },
}
SCSS
$custom: #338872;
$custom-light: #74ab9a;
$custom-dark: #000000;
JSON
{
  "hex": "#338872",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 114
  },
  "hsl": {
    "h": 164.471,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56897,
    "c": 0.08873,
    "h": 173
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#338872
secondary
#B0677A
accent
#5374D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338872

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

Preview Lab → · Contrast checker → · Palette generator →

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