#339871#339871

#339871 is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.1% C 0.111 H 163.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#339871
RGBrgb(51, 152, 113)
HSLhsl(157, 50%, 40%)
HSVhsv(157, 66%, 60%)
CMYKcmyk(66.4%, 0%, 25.7%, 40.4%)
CIE-LABlab(56.44, -38.63, 12.16)
CIE-LCHlch(56.44, 40.50, 162.53°)
OKLaboklab(61.09% -0.1064 0.0311)
OKLCHoklch(61.09% 0.111 163.7)
XYZxyz(15.5725, 24.3509, 19.4991)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339871 #98335A
analogous
#33983F #339871 #338C98
triadic
#339871 #713398 #987133
tetradic
#339871 #3F3398 #98335A #8C9833
square
#339871 #3F3398 #98335A #8C9833
split-complementary
#339871 #98338C #983F33
monochromatic
#143C2D #246A4F #339871 #47C192 #75D1AD

Accessibility & contrast

On white

3.58
#339871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#339871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339871
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339871#FFFFFF#000000##000000
##3398711.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958D6F
Deuteranopia (green-blind)
#888374
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339871;
/* rgb */ color: rgb(51, 152, 113);
/* oklch */ color: oklch(61.1% 0.111 163.7);
Tailwind
colors: {
  custom: {
    50: '#77b79a',
    500: '#339871',
    950: '#000000',
  },
}
SCSS
$custom: #339871;
$custom-light: #77b79a;
$custom-dark: #000000;
JSON
{
  "hex": "#339871",
  "rgb": {
    "r": 51,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 156.832,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61089,
    "c": 0.1108,
    "h": 163.7
  },
  "luminance": 0.24353
}

Semantic roles & 50–950 ramp

primary
#339871
secondary
#B96E8B
accent
#4F84D9
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #339871

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

Preview Lab → · Contrast checker → · Palette generator →

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