#338B6F#338B6F

#338B6F is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.6% C 0.095 H 168.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#338B6F
RGBrgb(51, 139, 111)
HSLhsl(161, 46%, 37%)
HSVhsv(161, 63%, 55%)
CMYKcmyk(63.3%, 0%, 20.1%, 45.5%)
CIE-LABlab(52.19, -33.28, 7.31)
CIE-LCHlch(52.19, 34.07, 167.62°)
OKLaboklab(57.6% -0.0929 0.0187)
OKLCHoklch(57.6% 0.095 168.6)
XYZxyz(13.4657, 20.3154, 18.2475)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B6F #8B334F
analogous
#338B43 #338B6F #337B8B
triadic
#338B6F #6F338B #8B6F33
tetradic
#338B6F #43338B #8B334F #7B8B33
square
#338B6F #43338B #8B334F #7B8B33
split-complementary
#338B6F #8B337B #8B4333
monochromatic
#123127 #235E4B #338B6F #43B893 #6ECAAD

Accessibility & contrast

On white

4.15
#338B6F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#338B6F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B6F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B6F#FFFFFF#000000##000000
##338B6F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87826E
Deuteranopia (green-blind)
#7B7971
Tritanopia (blue-blind)
#008C83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338b6f;
/* rgb */ color: rgb(51, 139, 111);
/* oklch */ color: oklch(57.6% 0.095 168.6);
Tailwind
colors: {
  custom: {
    50: '#75ad98',
    500: '#338b6f',
    950: '#000000',
  },
}
SCSS
$custom: #338b6f;
$custom-light: #75ad98;
$custom-dark: #000000;
JSON
{
  "hex": "#338b6f",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 111
  },
  "hsl": {
    "h": 160.909,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.09481,
    "h": 168.6
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#338B6F
secondary
#B2687F
accent
#527CD6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #338B6F

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

Preview Lab → · Contrast checker → · Palette generator →

#338B6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva