#338E62#338E62

#338E62 is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.1% C 0.110 H 158.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#338E62
RGBrgb(51, 142, 98)
HSLhsl(151, 47%, 38%)
HSVhsv(151, 64%, 56%)
CMYKcmyk(64.1%, 0%, 31%, 44.3%)
CIE-LABlab(52.87, -37.67, 15.69)
CIE-LCHlch(52.87, 40.80, 157.38°)
OKLaboklab(58.06% -0.1027 0.0398)
OKLCHoklch(58.06% 0.11 158.8)
XYZxyz(13.2416, 20.9303, 14.8950)
Luminance0.2093 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E62 #8E335F
analogous
#338E35 #338E62 #338C8E
triadic
#338E62 #62338E #8E6233
tetradic
#338E62 #35338E #8E335F #8C8E33
square
#338E62 #35338E #8E335F #8C8E33
split-complementary
#338E62 #8E338C #8E3533
monochromatic
#133424 #236143 #338E62 #43BB81 #70CC9F

Accessibility & contrast

On white

4.05
#338E62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#338E62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E62
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E62#FFFFFF#000000##000000
##338E621.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D835F
Deuteranopia (green-blind)
#807B65
Tritanopia (blue-blind)
#008D82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338e62;
/* rgb */ color: rgb(51, 142, 98);
/* oklch */ color: oklch(58.1% 0.110 158.8);
Tailwind
colors: {
  custom: {
    50: '#75b08f',
    500: '#338e62',
    950: '#000000',
  },
}
SCSS
$custom: #338e62;
$custom-light: #75b08f;
$custom-dark: #000000;
JSON
{
  "hex": "#338e62",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 98
  },
  "hsl": {
    "h": 150.989,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.11019,
    "h": 158.8
  },
  "luminance": 0.20932
}

Semantic roles & 50–950 ramp

primary
#338E62
secondary
#B4698D
accent
#5192D7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338E62

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

Preview Lab → · Contrast checker → · Palette generator →

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