#338262#338262

#338262 is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.8% C 0.093 H 163.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#338262
RGBrgb(51, 130, 98)
HSLhsl(156, 44%, 35%)
HSVhsv(156, 61%, 51%)
CMYKcmyk(60.8%, 0%, 24.6%, 49%)
CIE-LABlab(48.95, -32.27, 10.24)
CIE-LCHlch(48.95, 33.86, 162.40°)
OKLaboklab(54.85% -0.0891 0.0262)
OKLCHoklch(54.85% 0.093 163.6)
XYZxyz(11.5514, 17.5498, 14.3316)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338262 #823353
analogous
#33823A #338262 #337A82
triadic
#338262 #623382 #826233
tetradic
#338262 #3A3382 #823353 #7A8233
square
#338262 #3A3382 #823353 #7A8233
split-complementary
#338262 #82337A #823A33
monochromatic
#112A20 #225641 #338262 #44AE83 #6BC5A0

Accessibility & contrast

On white

4.66
#338262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#338262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338262
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338262#FFFFFF#000000##FFFFFF
##3382621.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807960
Deuteranopia (green-blind)
#757164
Tritanopia (blue-blind)
#098279
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338262;
/* rgb */ color: rgb(51, 130, 98);
/* oklch */ color: oklch(54.8% 0.093 163.6);
Tailwind
colors: {
  custom: {
    50: '#73a78e',
    500: '#338262',
    950: '#000000',
  },
}
SCSS
$custom: #338262;
$custom-light: #73a78e;
$custom-dark: #000000;
JSON
{
  "hex": "#338262",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 98
  },
  "hsl": {
    "h": 155.696,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54849,
    "c": 0.09288,
    "h": 163.6
  },
  "luminance": 0.17551
}

Semantic roles & 50–950 ramp

primary
#338262
secondary
#AD6482
accent
#5488D3
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #338262

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

Preview Lab → · Contrast checker → · Palette generator →

#338262 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva