#338B65#338B65

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

Color values

HEX#338B65
RGBrgb(51, 139, 101)
HSLhsl(154, 46%, 37%)
HSVhsv(154, 63%, 55%)
CMYKcmyk(63.3%, 0%, 27.3%, 45.5%)
CIE-LABlab(51.96, -35.67, 12.72)
CIE-LCHlch(51.96, 37.87, 160.37°)
OKLaboklab(57.33% -0.0979 0.0324)
OKLCHoklch(57.33% 0.103 161.7)
XYZxyz(12.9456, 20.1073, 15.5083)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B65 #8B3359
analogous
#338B39 #338B65 #33858B
triadic
#338B65 #65338B #8B6533
tetradic
#338B65 #39338B #8B3359 #858B33
square
#338B65 #39338B #8B3359 #858B33
split-complementary
#338B65 #8B3385 #8B3933
monochromatic
#123124 #235E44 #338B65 #43B886 #6ECAA2

Accessibility & contrast

On white

4.18
#338B65 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#338B65 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B65
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B65#FFFFFF#000000##000000
##338B651.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#898163
Deuteranopia (green-blind)
#7D7867
Tritanopia (blue-blind)
#008B81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338b65;
/* rgb */ color: rgb(51, 139, 101);
/* oklch */ color: oklch(57.3% 0.103 161.7);
Tailwind
colors: {
  custom: {
    50: '#74ad91',
    500: '#338b65',
    950: '#000000',
  },
}
SCSS
$custom: #338b65;
$custom-light: #74ad91;
$custom-dark: #000000;
JSON
{
  "hex": "#338b65",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 101
  },
  "hsl": {
    "h": 154.091,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57334,
    "c": 0.10314,
    "h": 161.7
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#338B65
secondary
#B26888
accent
#528BD6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338B65

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

Preview Lab → · Contrast checker → · Palette generator →

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