#12828E#12828E

#12828E is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.6% C 0.092 H 206.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#12828E
RGBrgb(18, 130, 142)
HSLhsl(186, 78%, 31%)
HSVhsv(186, 87%, 56%)
CMYKcmyk(87.3%, 8.5%, 0%, 44.3%)
CIE-LABlab(49.55, -24.19, -14.73)
CIE-LCHlch(49.55, 28.32, 211.34°)
OKLaboklab(55.57% -0.0819 -0.0411)
OKLCHoklch(55.57% 0.092 206.6)
XYZxyz(13.1124, 18.0452, 28.3779)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12828E #8E1E12
analogous
#128E5C #12828E #12448E
triadic
#12828E #8E1282 #828E12
tetradic
#12828E #5C128E #8E1E12 #448E12
square
#12828E #5C128E #8E1E12 #448E12
split-complementary
#12828E #8E1244 #8E5C12
monochromatic
#041F21 #0B5058 #12828E #19B4C4 #35D4E5

Accessibility & contrast

On white

4.56
#12828E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#12828E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12828E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12828E#FFFFFF#000000##000000
##12828E1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#767C8F
Deuteranopia (green-blind)
#66718E
Tritanopia (blue-blind)
#008886
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #12828e;
/* rgb */ color: rgb(18, 130, 142);
/* oklch */ color: oklch(55.6% 0.092 206.6);
Tailwind
colors: {
  custom: {
    50: '#6ca6af',
    500: '#12828e',
    950: '#000000',
  },
}
SCSS
$custom: #12828e;
$custom-light: #6ca6af;
$custom-dark: #000000;
JSON
{
  "hex": "#12828e",
  "rgb": {
    "r": 18,
    "g": 130,
    "b": 142
  },
  "hsl": {
    "h": 185.806,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55573,
    "c": 0.09159,
    "h": 206.6
  },
  "luminance": 0.18047
}

Semantic roles & 50–950 ramp

primary
#12828E
secondary
#C2473A
accent
#4634F4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #12828E

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

Preview Lab → · Contrast checker → · Palette generator →

#12828E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva