#30987F#30987F

#30987F is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.4% C 0.102 H 173.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#30987F
RGBrgb(48, 152, 127)
HSLhsl(166, 52%, 39%)
HSVhsv(166, 68%, 60%)
CMYKcmyk(68.4%, 0%, 16.4%, 40.4%)
CIE-LABlab(56.70, -35.70, 4.58)
CIE-LCHlch(56.70, 35.99, 172.68°)
OKLaboklab(61.39% -0.101 0.0116)
OKLCHoklch(61.39% 0.102 173.5)
XYZxyz(16.2760, 24.6153, 23.9680)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30987F #983049
analogous
#30984B #30987F #307D98
triadic
#30987F #7F3098 #987F30
tetradic
#30987F #4B3098 #983049 #7D9830
square
#30987F #4B3098 #983049 #7D9830
split-complementary
#30987F #98307D #984B30
monochromatic
#133B31 #216958 #30987F #42C3A4 #70D2BB

Accessibility & contrast

On white

3.55
#30987F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#30987F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30987F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30987F#FFFFFF#000000##000000
##30987F1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7E
Deuteranopia (green-blind)
#858481
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #30987f;
/* rgb */ color: rgb(48, 152, 127);
/* oklch */ color: oklch(61.4% 0.102 173.5);
Tailwind
colors: {
  custom: {
    50: '#76b7a4',
    500: '#30987f',
    950: '#000000',
  },
}
SCSS
$custom: #30987f;
$custom-light: #76b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#30987f",
  "rgb": {
    "r": 48,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 165.577,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61392,
    "c": 0.10163,
    "h": 173.5
  },
  "luminance": 0.24617
}

Semantic roles & 50–950 ramp

primary
#30987F
secondary
#BA6A7D
accent
#4C6FDB
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #30987F

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

Preview Lab → · Contrast checker → · Palette generator →

#30987F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva