#338871#338871

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

Color values

HEX#338871
RGBrgb(51, 136, 113)
HSLhsl(164, 45%, 37%)
HSVhsv(164, 63%, 53%)
CMYKcmyk(62.5%, 0%, 16.9%, 46.7%)
CIE-LABlab(51.27, -31.37, 4.83)
CIE-LCHlch(51.27, 31.74, 171.24°)
OKLaboklab(56.87% -0.0885 0.0123)
OKLCHoklch(56.87% 0.089 172.1)
XYZxyz(13.1486, 19.5030, 18.6911)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338871 #88334A
analogous
#338847 #338871 #337588
triadic
#338871 #713388 #887133
tetradic
#338871 #473388 #88334A #758833
square
#338871 #473388 #88334A #758833
split-complementary
#338871 #883375 #884733
monochromatic
#122F27 #225B4C #338871 #44B596 #6DC8B0

Accessibility & contrast

On white

4.29
#338871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#338871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338871
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338871#FFFFFF#000000##000000
##3388711.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847F70
Deuteranopia (green-blind)
#787673
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338871;
/* rgb */ color: rgb(51, 136, 113);
/* oklch */ color: oklch(56.9% 0.089 172.1);
Tailwind
colors: {
  custom: {
    50: '#74ab99',
    500: '#338871',
    950: '#000000',
  },
}
SCSS
$custom: #338871;
$custom-light: #74ab99;
$custom-dark: #000000;
JSON
{
  "hex": "#338871",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 113
  },
  "hsl": {
    "h": 163.765,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.0894,
    "h": 172.1
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#338871
secondary
#B0677B
accent
#5376D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338871

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

Preview Lab → · Contrast checker → · Palette generator →

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