#338765#338765

#338765 is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.3% C 0.097 H 163.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#338765
RGBrgb(51, 135, 101)
HSLhsl(156, 45%, 36%)
HSVhsv(156, 62%, 53%)
CMYKcmyk(62.2%, 0%, 25.2%, 47.1%)
CIE-LABlab(50.65, -33.86, 10.90)
CIE-LCHlch(50.65, 35.57, 162.16°)
OKLaboklab(56.27% -0.0934 0.0279)
OKLCHoklch(56.27% 0.097 163.4)
XYZxyz(12.3770, 18.9701, 15.3187)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338765 #873355
analogous
#33873B #338765 #337F87
triadic
#338765 #653387 #876533
tetradic
#338765 #3B3387 #873355 #7F8733
square
#338765 #3B3387 #873355 #7F8733
split-complementary
#338765 #87337F #873B33
monochromatic
#112E23 #225B44 #338765 #44B386 #6DC8A3

Accessibility & contrast

On white

4.38
#338765 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#338765 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338765
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338765#FFFFFF#000000##000000
##3387651.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857E63
Deuteranopia (green-blind)
#797567
Tritanopia (blue-blind)
#00877E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338765;
/* rgb */ color: rgb(51, 135, 101);
/* oklch */ color: oklch(56.3% 0.097 163.4);
Tailwind
colors: {
  custom: {
    50: '#74aa91',
    500: '#338765',
    950: '#000000',
  },
}
SCSS
$custom: #338765;
$custom-light: #74aa91;
$custom-dark: #000000;
JSON
{
  "hex": "#338765",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 101
  },
  "hsl": {
    "h": 155.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.09744,
    "h": 163.4
  },
  "luminance": 0.18971
}

Semantic roles & 50–950 ramp

primary
#338765
secondary
#B06684
accent
#5388D5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338765

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

Preview Lab → · Contrast checker → · Palette generator →

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