#30877F#30877F

#30877F is a mid, moderate teal. Relative luminance 0.195; OKLCH L 57.0% C 0.083 H 186.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#30877F
RGBrgb(48, 135, 127)
HSLhsl(174, 48%, 36%)
HSVhsv(174, 64%, 53%)
CMYKcmyk(64.4%, 0%, 5.9%, 47.1%)
CIE-LABlab(51.25, -27.65, -3.35)
CIE-LCHlch(51.25, 27.85, 186.92°)
OKLaboklab(56.96% -0.0823 -0.0095)
OKLCHoklch(56.96% 0.083 186.6)
XYZxyz(13.7119, 19.4872, 23.1133)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30877F #873038
analogous
#308753 #30877F #306387
triadic
#30877F #7F3087 #877F30
tetradic
#30877F #533087 #873038 #638730
square
#30877F #533087 #873038 #638730
split-complementary
#30877F #873063 #875330
monochromatic
#102D2A #205A55 #30877F #40B4A9 #68C9C0

Accessibility & contrast

On white

4.29
#30877F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#30877F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30877F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30877F#FFFFFF#000000##000000
##30877F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807F
Deuteranopia (green-blind)
#737680
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #30877f;
/* rgb */ color: rgb(48, 135, 127);
/* oklch */ color: oklch(57.0% 0.083 186.6);
Tailwind
colors: {
  custom: {
    50: '#74aaa4',
    500: '#30877f',
    950: '#000000',
  },
}
SCSS
$custom: #30877f;
$custom-light: #74aaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#30877f",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 174.483,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.08286,
    "h": 186.6
  },
  "luminance": 0.19489
}

Semantic roles & 50–950 ramp

primary
#30877F
secondary
#B16269
accent
#515DD7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #30877F

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

Preview Lab → · Contrast checker → · Palette generator →

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