#338964#338964

#338964 is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.8% C 0.101 H 161.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#338964
RGBrgb(51, 137, 100)
HSLhsl(154, 46%, 37%)
HSVhsv(154, 63%, 54%)
CMYKcmyk(62.8%, 0%, 27%, 46.3%)
CIE-LABlab(51.28, -35.00, 12.35)
CIE-LCHlch(51.28, 37.12, 160.56°)
OKLaboklab(56.77% -0.0961 0.0315)
OKLCHoklch(56.77% 0.101 161.8)
XYZxyz(12.6099, 19.5140, 15.1561)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338964 #893358
analogous
#338939 #338964 #338389
triadic
#338964 #643389 #896433
tetradic
#338964 #393389 #893358 #838933
square
#338964 #393389 #893358 #838933
split-complementary
#338964 #893383 #893933
monochromatic
#123023 #225C43 #338964 #44B685 #6EC9A2

Accessibility & contrast

On white

4.28
#338964 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#338964 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338964
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338964#FFFFFF#000000##000000
##3389641.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F62
Deuteranopia (green-blind)
#7B7766
Tritanopia (blue-blind)
#00897F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338964;
/* rgb */ color: rgb(51, 137, 100);
/* oklch */ color: oklch(56.8% 0.101 161.8);
Tailwind
colors: {
  custom: {
    50: '#74ac90',
    500: '#338964',
    950: '#000000',
  },
}
SCSS
$custom: #338964;
$custom-light: #74ac90;
$custom-dark: #000000;
JSON
{
  "hex": "#338964",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 100
  },
  "hsl": {
    "h": 154.186,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.10118,
    "h": 161.8
  },
  "luminance": 0.19515
}

Semantic roles & 50–950 ramp

primary
#338964
secondary
#B16787
accent
#528BD5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338964

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

Preview Lab → · Contrast checker → · Palette generator →

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