#338A63#338A63

#338A63 is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.0% C 0.104 H 160.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#338A63
RGBrgb(51, 138, 99)
HSLhsl(153, 46%, 37%)
HSVhsv(153, 63%, 54%)
CMYKcmyk(63%, 0%, 28.3%, 45.9%)
CIE-LABlab(51.59, -35.68, 13.35)
CIE-LCHlch(51.59, 38.09, 159.48°)
OKLaboklab(57.02% -0.0978 0.034)
OKLCHoklch(57.02% 0.104 160.8)
XYZxyz(12.7047, 19.7803, 14.9504)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A63 #8A335A
analogous
#338A37 #338A63 #33868A
triadic
#338A63 #63338A #8A6333
tetradic
#338A63 #37338A #8A335A #868A33
square
#338A63 #37338A #8A335A #868A33
split-complementary
#338A63 #8A3386 #8A3733
monochromatic
#123123 #225D43 #338A63 #44B783 #6EC9A0

Accessibility & contrast

On white

4.24
#338A63 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#338A63 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A63
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A63#FFFFFF#000000##000000
##338A631.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#888061
Deuteranopia (green-blind)
#7C7765
Tritanopia (blue-blind)
#008A7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338a63;
/* rgb */ color: rgb(51, 138, 99);
/* oklch */ color: oklch(57.0% 0.104 160.8);
Tailwind
colors: {
  custom: {
    50: '#74ad8f',
    500: '#338a63',
    950: '#000000',
  },
}
SCSS
$custom: #338a63;
$custom-light: #74ad8f;
$custom-dark: #000000;
JSON
{
  "hex": "#338a63",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 99
  },
  "hsl": {
    "h": 153.103,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.10352,
    "h": 160.8
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#338A63
secondary
#B16789
accent
#528DD6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338A63

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

Preview Lab → · Contrast checker → · Palette generator →

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