#30786F#30786F

#30786F is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.073 H 184.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#30786F
RGBrgb(48, 120, 111)
HSLhsl(173, 43%, 33%)
HSVhsv(173, 60%, 47%)
CMYKcmyk(60%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.92, -24.68, -1.78)
CIE-LCHlch(45.92, 24.75, 184.13°)
OKLaboklab(52.47% -0.0728 -0.0052)
OKLCHoklch(52.47% 0.073 184.1)
XYZxyz(10.8034, 15.2079, 17.4019)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30786F #783039
analogous
#30784B #30786F #305D78
triadic
#30786F #6F3078 #786F30
tetradic
#30786F #4B3078 #783039 #5D7830
square
#30786F #4B3078 #783039 #5D7830
split-complementary
#30786F #78305D #784B30
monochromatic
#0D211E #1F4C47 #30786F #41A497 #62C0B4

Accessibility & contrast

On white

5.20
#30786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#30786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30786F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30786F#FFFFFF#000000##FFFFFF
##30786F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72726F
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #30786f;
/* rgb */ color: rgb(48, 120, 111);
/* oklch */ color: oklch(52.5% 0.073 184.1);
Tailwind
colors: {
  custom: {
    50: '#709f98',
    500: '#30786f',
    950: '#000000',
  },
}
SCSS
$custom: #30786f;
$custom-light: #709f98;
$custom-dark: #000000;
JSON
{
  "hex": "#30786f",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 172.5,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.07298,
    "h": 184.1
  },
  "luminance": 0.15209
}

Semantic roles & 50–950 ramp

primary
#30786F
secondary
#A75C66
accent
#5565D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #30786F

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

Preview Lab → · Contrast checker → · Palette generator →

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