#306152#306152

#306152 is a mid, muted teal. Relative luminance 0.098; OKLCH L 45.3% C 0.059 H 171.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#306152
RGBrgb(48, 97, 82)
HSLhsl(162, 34%, 28%)
HSVhsv(162, 51%, 38%)
CMYKcmyk(50.5%, 0%, 15.5%, 62%)
CIE-LABlab(37.46, -20.67, 3.46)
CIE-LCHlch(37.46, 20.96, 170.50°)
OKLaboklab(45.34% -0.0586 0.0088)
OKLCHoklch(45.34% 0.059 171.4)
XYZxyz(7.0160, 9.7864, 9.5003)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306152 #61303F
analogous
#306139 #306152 #305761
triadic
#306152 #523061 #615230
tetradic
#306152 #393061 #61303F #576130
square
#306152 #393061 #61303F #576130
split-complementary
#306152 #613057 #613930
monochromatic
#0A1411 #1C382F #306152 #448A75 #5DAF96

Accessibility & contrast

On white

7.10
#306152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#306152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306152
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306152#FFFFFF#000000##FFFFFF
##3061521.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5B51
Deuteranopia (green-blind)
#575653
Tritanopia (blue-blind)
#1E625D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306152;
/* rgb */ color: rgb(48, 97, 82);
/* oklch */ color: oklch(45.3% 0.059 171.4);
Tailwind
colors: {
  custom: {
    50: '#6c8e82',
    500: '#306152',
    950: '#000000',
  },
}
SCSS
$custom: #306152;
$custom-light: #6c8e82;
$custom-dark: #000000;
JSON
{
  "hex": "#306152",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 82
  },
  "hsl": {
    "h": 161.633,
    "s": 33.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.05929,
    "h": 171.4
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#306152
secondary
#925A6C
accent
#5E7FCA
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070C0A
muted
#7A7D7C

Preview Lab

Preview with #306152

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

Preview Lab → · Contrast checker → · Palette generator →

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