#338762#338762

#338762 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.2% C 0.100 H 161.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#338762
RGBrgb(51, 135, 98)
HSLhsl(154, 45%, 36%)
HSVhsv(154, 62%, 53%)
CMYKcmyk(62.2%, 0%, 27.4%, 47.1%)
CIE-LABlab(50.58, -34.56, 12.53)
CIE-LCHlch(50.58, 36.76, 160.07°)
OKLaboklab(56.19% -0.0949 0.032)
OKLCHoklch(56.19% 0.1 161.4)
XYZxyz(12.2327, 18.9124, 14.5587)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338762 #873358
analogous
#338738 #338762 #338287
triadic
#338762 #623387 #876233
tetradic
#338762 #383387 #873358 #828733
square
#338762 #383387 #873358 #828733
split-complementary
#338762 #873382 #873833
monochromatic
#112E22 #225B42 #338762 #44B382 #6DC8A0

Accessibility & contrast

On white

4.39
#338762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#338762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338762
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338762#FFFFFF#000000##000000
##3387621.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D60
Deuteranopia (green-blind)
#797564
Tritanopia (blue-blind)
#04877D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338762;
/* rgb */ color: rgb(51, 135, 98);
/* oklch */ color: oklch(56.2% 0.100 161.4);
Tailwind
colors: {
  custom: {
    50: '#74aa8e',
    500: '#338762',
    950: '#000000',
  },
}
SCSS
$custom: #338762;
$custom-light: #74aa8e;
$custom-dark: #000000;
JSON
{
  "hex": "#338762",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 153.571,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56188,
    "c": 0.10011,
    "h": 161.4
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

primary
#338762
secondary
#B06687
accent
#538CD5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338762

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

Preview Lab → · Contrast checker → · Palette generator →

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