#338960#338960

#338960 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.7% C 0.105 H 159.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#338960
RGBrgb(51, 137, 96)
HSLhsl(151, 46%, 37%)
HSVhsv(151, 63%, 54%)
CMYKcmyk(62.8%, 0%, 29.9%, 46.3%)
CIE-LABlab(51.20, -35.91, 14.52)
CIE-LCHlch(51.20, 38.73, 157.98°)
OKLaboklab(56.68% -0.0981 0.0369)
OKLCHoklch(56.68% 0.105 159.4)
XYZxyz(12.4211, 19.4384, 14.1615)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338960 #89335C
analogous
#338935 #338960 #338789
triadic
#338960 #603389 #896033
tetradic
#338960 #353389 #89335C #878933
square
#338960 #353389 #89335C #878933
split-complementary
#338960 #893387 #893533
monochromatic
#123021 #225C41 #338960 #44B67F #6EC99D

Accessibility & contrast

On white

4.30
#338960 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#338960 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338960
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338960#FFFFFF#000000##000000
##3389601.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F5E
Deuteranopia (green-blind)
#7C7763
Tritanopia (blue-blind)
#05887E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338960;
/* rgb */ color: rgb(51, 137, 96);
/* oklch */ color: oklch(56.7% 0.105 159.4);
Tailwind
colors: {
  custom: {
    50: '#74ac8d',
    500: '#338960',
    950: '#000000',
  },
}
SCSS
$custom: #338960;
$custom-light: #74ac8d;
$custom-dark: #000000;
JSON
{
  "hex": "#338960",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 96
  },
  "hsl": {
    "h": 151.395,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.10484,
    "h": 159.4
  },
  "luminance": 0.1944
}

Semantic roles & 50–950 ramp

primary
#338960
secondary
#B1678A
accent
#5291D5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338960

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

Preview Lab → · Contrast checker → · Palette generator →

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