#338B62#338B62

#338B62 is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.3% C 0.106 H 159.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#338B62
RGBrgb(51, 139, 98)
HSLhsl(152, 46%, 37%)
HSVhsv(152, 63%, 55%)
CMYKcmyk(63.3%, 0%, 29.5%, 45.5%)
CIE-LABlab(51.89, -36.35, 14.34)
CIE-LCHlch(51.89, 39.08, 158.46°)
OKLaboklab(57.26% -0.0994 0.0365)
OKLCHoklch(57.26% 0.106 159.9)
XYZxyz(12.8013, 20.0496, 14.7482)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B62 #8B335C
analogous
#338B36 #338B62 #33888B
triadic
#338B62 #62338B #8B6233
tetradic
#338B62 #36338B #8B335C #888B33
square
#338B62 #36338B #8B335C #888B33
split-complementary
#338B62 #8B3388 #8B3633
monochromatic
#123123 #235E42 #338B62 #43B882 #6ECA9F

Accessibility & contrast

On white

4.19
#338B62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#338B62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B62
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B62#FFFFFF#000000##000000
##338B621.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#898160
Deuteranopia (green-blind)
#7D7865
Tritanopia (blue-blind)
#008A80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338b62;
/* rgb */ color: rgb(51, 139, 98);
/* oklch */ color: oklch(57.3% 0.106 159.9);
Tailwind
colors: {
  custom: {
    50: '#74ad8e',
    500: '#338b62',
    950: '#000000',
  },
}
SCSS
$custom: #338b62;
$custom-light: #74ad8e;
$custom-dark: #000000;
JSON
{
  "hex": "#338b62",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 98
  },
  "hsl": {
    "h": 152.045,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57259,
    "c": 0.10588,
    "h": 159.9
  },
  "luminance": 0.20051
}

Semantic roles & 50–950 ramp

primary
#338B62
secondary
#B2688A
accent
#528FD6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338B62

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

Preview Lab → · Contrast checker → · Palette generator →

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