#309171#309171

#309171 is a mid, moderate teal. Relative luminance 0.221; OKLCH L 59.2% C 0.103 H 167.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#309171
RGBrgb(48, 145, 113)
HSLhsl(160, 50%, 38%)
HSVhsv(160, 67%, 57%)
CMYKcmyk(66.9%, 0%, 22.1%, 43.1%)
CIE-LABlab(54.10, -36.08, 8.86)
CIE-LCHlch(54.10, 37.16, 166.21°)
OKLaboklab(59.16% -0.1002 0.0227)
OKLCHoklch(59.16% 0.103 167.3)
XYZxyz(14.3234, 22.0699, 19.1246)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309171 #913050
analogous
#309140 #309171 #308091
triadic
#309171 #713091 #917130
tetradic
#309171 #403091 #913050 #809130
square
#309171 #403091 #913050 #809130
split-complementary
#309171 #913080 #914030
monochromatic
#123529 #21634D #309171 #3FBF95 #6DCFAE

Accessibility & contrast

On white

3.88
#309171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#309171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309171
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309171#FFFFFF#000000##000000
##3091711.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E876F
Deuteranopia (green-blind)
#807D73
Tritanopia (blue-blind)
#009288
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #309171;
/* rgb */ color: rgb(48, 145, 113);
/* oklch */ color: oklch(59.2% 0.103 167.3);
Tailwind
colors: {
  custom: {
    50: '#74b299',
    500: '#309171',
    950: '#000000',
  },
}
SCSS
$custom: #309171;
$custom-light: #74b299;
$custom-dark: #000000;
JSON
{
  "hex": "#309171",
  "rgb": {
    "r": 48,
    "g": 145,
    "b": 113
  },
  "hsl": {
    "h": 160.206,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59155,
    "c": 0.10277,
    "h": 167.3
  },
  "luminance": 0.22071
}

Semantic roles & 50–950 ramp

primary
#309171
secondary
#B66781
accent
#4E7CDA
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #309171

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

Preview Lab → · Contrast checker → · Palette generator →

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