#338E63#338E63

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

Color values

HEX#338E63
RGBrgb(51, 142, 99)
HSLhsl(152, 47%, 38%)
HSVhsv(152, 64%, 56%)
CMYKcmyk(64.1%, 0%, 30.3%, 44.3%)
CIE-LABlab(52.89, -37.45, 15.16)
CIE-LCHlch(52.89, 40.40, 157.96°)
OKLaboklab(58.09% -0.1023 0.0385)
OKLCHoklch(58.09% 0.109 159.4)
XYZxyz(13.2891, 20.9493, 15.1452)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E63 #8E335E
analogous
#338E35 #338E63 #338B8E
triadic
#338E63 #63338E #8E6333
tetradic
#338E63 #35338E #8E335E #8B8E33
square
#338E63 #35338E #8E335E #8B8E33
split-complementary
#338E63 #8E338B #8E3533
monochromatic
#133424 #236144 #338E63 #43BB82 #70CCA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338E63#FFFFFF#000000##000000
##338E631.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)
#8C8460
Deuteranopia (green-blind)
#807B66
Tritanopia (blue-blind)
#008D82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338e63;
/* rgb */ color: rgb(51, 142, 99);
/* oklch */ color: oklch(58.1% 0.109 159.4);
Tailwind
colors: {
  custom: {
    50: '#75b08f',
    500: '#338e63',
    950: '#000000',
  },
}
SCSS
$custom: #338e63;
$custom-light: #75b08f;
$custom-dark: #000000;
JSON
{
  "hex": "#338e63",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 99
  },
  "hsl": {
    "h": 151.648,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58086,
    "c": 0.10926,
    "h": 159.4
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#338E63
secondary
#B4698C
accent
#5190D7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338E63

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

Preview Lab → · Contrast checker → · Palette generator →

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