#306151#306151

#306151 is a mid, moderate teal. Relative luminance 0.098; OKLCH L 45.3% C 0.060 H 170.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#306151
RGBrgb(48, 97, 81)
HSLhsl(160, 34%, 28%)
HSVhsv(160, 51%, 38%)
CMYKcmyk(50.5%, 0%, 16.5%, 62%)
CIE-LABlab(37.43, -20.93, 4.04)
CIE-LCHlch(37.43, 21.32, 169.09°)
OKLaboklab(45.31% -0.0591 0.0103)
OKLCHoklch(45.31% 0.06 170.1)
XYZxyz(6.9782, 9.7713, 9.3013)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306151 #613040
analogous
#306138 #306151 #305861
triadic
#306151 #513061 #615130
tetradic
#306151 #383061 #613040 #586130
square
#306151 #383061 #613040 #586130
split-complementary
#306151 #613058 #613830
monochromatic
#0A1411 #1C382F #306151 #448A73 #5DAF94

Accessibility & contrast

On white

7.11
#306151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#306151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306151
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306151#FFFFFF#000000##FFFFFF
##3061511.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5B50
Deuteranopia (green-blind)
#575652
Tritanopia (blue-blind)
#1E625C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306151;
/* rgb */ color: rgb(48, 97, 81);
/* oklch */ color: oklch(45.3% 0.060 170.1);
Tailwind
colors: {
  custom: {
    50: '#6c8e81',
    500: '#306151',
    950: '#000000',
  },
}
SCSS
$custom: #306151;
$custom-light: #6c8e81;
$custom-dark: #000000;
JSON
{
  "hex": "#306151",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 81
  },
  "hsl": {
    "h": 160.408,
    "s": 33.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45305,
    "c": 0.06004,
    "h": 170.1
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#306151
secondary
#925A6D
accent
#5E81CA
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070C0A
muted
#7A7D7C

Preview Lab

Preview with #306151

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

Preview Lab → · Contrast checker → · Palette generator →

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