#309871#309871

#309871 is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.0% C 0.112 H 164.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#309871
RGBrgb(48, 152, 113)
HSLhsl(158, 52%, 39%)
HSVhsv(158, 68%, 60%)
CMYKcmyk(68.4%, 0%, 25.7%, 40.4%)
CIE-LABlab(56.36, -39.17, 12.04)
CIE-LCHlch(56.36, 40.98, 162.91°)
OKLaboklab(61.01% -0.1078 0.0308)
OKLCHoklch(61.01% 0.112 164.1)
XYZxyz(15.4262, 24.2754, 19.4922)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309871 #983057
analogous
#30983D #309871 #308B98
triadic
#309871 #713098 #987130
tetradic
#309871 #3D3098 #983057 #8B9830
square
#309871 #3D3098 #983057 #8B9830
split-complementary
#309871 #98308B #983D30
monochromatic
#133B2C #21694E #309871 #42C393 #70D2AD

Accessibility & contrast

On white

3.59
#309871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#309871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309871
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309871#FFFFFF#000000##000000
##3098711.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #309871;
/* rgb */ color: rgb(48, 152, 113);
/* oklch */ color: oklch(61.0% 0.112 164.1);
Tailwind
colors: {
  custom: {
    50: '#76b799',
    500: '#309871',
    950: '#000000',
  },
}
SCSS
$custom: #309871;
$custom-light: #76b799;
$custom-dark: #000000;
JSON
{
  "hex": "#309871",
  "rgb": {
    "r": 48,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 157.5,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61006,
    "c": 0.11213,
    "h": 164.1
  },
  "luminance": 0.24277
}

Semantic roles & 50–950 ramp

primary
#309871
secondary
#BA6A88
accent
#4C82DB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #309871

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

Preview Lab → · Contrast checker → · Palette generator →

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