#338C63#338C63

#338C63 is a mid, moderate teal. Relative luminance 0.204; OKLCH L 57.6% C 0.106 H 160.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#338C63
RGBrgb(51, 140, 99)
HSLhsl(152, 47%, 37%)
HSVhsv(152, 64%, 55%)
CMYKcmyk(63.6%, 0%, 29.3%, 45.1%)
CIE-LABlab(52.24, -36.57, 14.26)
CIE-LCHlch(52.24, 39.25, 158.70°)
OKLaboklab(57.55% -0.1 0.0363)
OKLCHoklch(57.55% 0.106 160.1)
XYZxyz(12.9942, 20.3595, 15.0469)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C63 #8C335C
analogous
#338C37 #338C63 #33888C
triadic
#338C63 #63338C #8C6333
tetradic
#338C63 #37338C #8C335C #888C33
square
#338C63 #37338C #8C335C #888C33
split-complementary
#338C63 #8C3388 #8C3733
monochromatic
#123224 #235F43 #338C63 #43B983 #6FCBA0

Accessibility & contrast

On white

4.14
#338C63 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#338C63 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C63
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C63#FFFFFF#000000##000000
##338C631.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8261
Deuteranopia (green-blind)
#7E7966
Tritanopia (blue-blind)
#008B81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338c63;
/* rgb */ color: rgb(51, 140, 99);
/* oklch */ color: oklch(57.6% 0.106 160.1);
Tailwind
colors: {
  custom: {
    50: '#74ae8f',
    500: '#338c63',
    950: '#000000',
  },
}
SCSS
$custom: #338c63;
$custom-light: #74ae8f;
$custom-dark: #000000;
JSON
{
  "hex": "#338c63",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 99
  },
  "hsl": {
    "h": 152.36,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57551,
    "c": 0.10639,
    "h": 160.1
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338C63

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

Preview Lab → · Contrast checker → · Palette generator →

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