#306158#306158

#306158 is a mid, muted teal. Relative luminance 0.099; OKLCH L 45.5% C 0.056 H 180.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#306158
RGBrgb(48, 97, 88)
HSLhsl(169, 34%, 28%)
HSVhsv(169, 51%, 38%)
CMYKcmyk(50.5%, 0%, 9.3%, 62%)
CIE-LABlab(37.63, -19.07, 0.01)
CIE-LCHlch(37.63, 19.07, 179.97°)
OKLaboklab(45.53% -0.0556 -0.0003)
OKLCHoklch(45.53% 0.056 180.3)
XYZxyz(7.2543, 9.8817, 10.7557)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306158 #613039
analogous
#30613F #306158 #305161
triadic
#306158 #583061 #615830
tetradic
#306158 #3F3061 #613039 #516130
square
#306158 #3F3061 #613039 #516130
split-complementary
#306158 #613051 #613F30
monochromatic
#0A1413 #1C3833 #306158 #448A7D #5DAFA0

Accessibility & contrast

On white

7.06
#306158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#306158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306158
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306158#FFFFFF#000000##FFFFFF
##3061581.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5C58
Deuteranopia (green-blind)
#555659
Tritanopia (blue-blind)
#1A625E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #306158;
/* rgb */ color: rgb(48, 97, 88);
/* oklch */ color: oklch(45.5% 0.056 180.3);
Tailwind
colors: {
  custom: {
    50: '#6c8e87',
    500: '#306158',
    950: '#000000',
  },
}
SCSS
$custom: #306158;
$custom-light: #6c8e87;
$custom-dark: #000000;
JSON
{
  "hex": "#306158",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 88
  },
  "hsl": {
    "h": 168.98,
    "s": 33.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45533,
    "c": 0.0556,
    "h": 180.3
  },
  "luminance": 0.09882
}

Semantic roles & 50–950 ramp

primary
#306158
secondary
#925A65
accent
#5E72CA
background
#F6F8F8
surface
#ECF0EF
border
#C7CBCA
text
#070C0B
muted
#7A7D7C

Preview Lab

Preview with #306158

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

Preview Lab → · Contrast checker → · Palette generator →

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