#338671#338671

#338671 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.3% C 0.087 H 173.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#338671
RGBrgb(51, 134, 113)
HSLhsl(165, 45%, 36%)
HSVhsv(165, 62%, 53%)
CMYKcmyk(61.9%, 0%, 15.7%, 47.5%)
CIE-LABlab(50.62, -30.42, 3.90)
CIE-LCHlch(50.62, 30.66, 172.70°)
OKLaboklab(56.34% -0.0863 0.0099)
OKLCHoklch(56.34% 0.087 173.5)
XYZxyz(12.8696, 18.9449, 18.5981)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338671 #863348
analogous
#338648 #338671 #337286
triadic
#338671 #713386 #867133
tetradic
#338671 #483386 #863348 #728633
square
#338671 #483386 #863348 #728633
split-complementary
#338671 #863372 #864833
monochromatic
#112D26 #225A4C #338671 #44B296 #6CC7B0

Accessibility & contrast

On white

4.38
#338671 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#338671 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338671
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338671#FFFFFF#000000##000000
##3386711.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E70
Deuteranopia (green-blind)
#767572
Tritanopia (blue-blind)
#008780
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338671;
/* rgb */ color: rgb(51, 134, 113);
/* oklch */ color: oklch(56.3% 0.087 173.5);
Tailwind
colors: {
  custom: {
    50: '#74aa99',
    500: '#338671',
    950: '#000000',
  },
}
SCSS
$custom: #338671;
$custom-light: #74aa99;
$custom-dark: #000000;
JSON
{
  "hex": "#338671",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 113
  },
  "hsl": {
    "h": 164.819,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.08683,
    "h": 173.5
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338671

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

Preview Lab → · Contrast checker → · Palette generator →

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