#338162#338162

#338162 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.6% C 0.091 H 164.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#338162
RGBrgb(51, 129, 98)
HSLhsl(156, 43%, 35%)
HSVhsv(156, 60%, 51%)
CMYKcmyk(60.5%, 0%, 24%, 49.4%)
CIE-LABlab(48.62, -31.80, 9.78)
CIE-LCHlch(48.62, 33.27, 162.91°)
OKLaboklab(54.58% -0.0879 0.025)
OKLCHoklch(54.58% 0.091 164.1)
XYZxyz(11.4190, 17.2850, 14.2875)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338162 #813352
analogous
#33813B #338162 #337981
triadic
#338162 #623381 #816233
tetradic
#338162 #3B3381 #813352 #798133
square
#338162 #3B3381 #813352 #798133
split-complementary
#338162 #813379 #813B33
monochromatic
#10291F #225541 #338162 #44AD83 #6AC4A0

Accessibility & contrast

On white

4.71
#338162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#338162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338162
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338162#FFFFFF#000000##FFFFFF
##3381621.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7860
Deuteranopia (green-blind)
#747064
Tritanopia (blue-blind)
#098178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338162;
/* rgb */ color: rgb(51, 129, 98);
/* oklch */ color: oklch(54.6% 0.091 164.1);
Tailwind
colors: {
  custom: {
    50: '#73a68e',
    500: '#338162',
    950: '#000000',
  },
}
SCSS
$custom: #338162;
$custom-light: #73a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#338162",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 156.154,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.09143,
    "h": 164.1
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#338162
secondary
#AC6480
accent
#5587D3
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #338162

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

Preview Lab → · Contrast checker → · Palette generator →

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