#30786D#30786D

#30786D is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.074 H 181.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#30786D
RGBrgb(48, 120, 109)
HSLhsl(171, 43%, 33%)
HSVhsv(171, 60%, 47%)
CMYKcmyk(60%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.86, -25.25, -0.68)
CIE-LCHlch(45.86, 25.26, 181.54°)
OKLaboklab(52.4% -0.0738 -0.0022)
OKLCHoklch(52.4% 0.074 181.7)
XYZxyz(10.6945, 15.1644, 16.8285)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30786D #78303B
analogous
#307849 #30786D #305F78
triadic
#30786D #6D3078 #786D30
tetradic
#30786D #493078 #78303B #5F7830
square
#30786D #493078 #78303B #5F7830
split-complementary
#30786D #78305F #784930
monochromatic
#0D211E #1F4C45 #30786D #41A495 #62C0B2

Accessibility & contrast

On white

5.21
#30786D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#30786D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30786D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30786D#FFFFFF#000000##FFFFFF
##30786D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73716D
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #30786d;
/* rgb */ color: rgb(48, 120, 109);
/* oklch */ color: oklch(52.4% 0.074 181.7);
Tailwind
colors: {
  custom: {
    50: '#709f96',
    500: '#30786d',
    950: '#000000',
  },
}
SCSS
$custom: #30786d;
$custom-light: #709f96;
$custom-dark: #000000;
JSON
{
  "hex": "#30786d",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 170.833,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.07379,
    "h": 181.7
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#30786D
secondary
#A75C68
accent
#5568D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #30786D

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

Preview Lab → · Contrast checker → · Palette generator →

#30786D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva