#12777E#12777E

#12777E is a mid, moderate teal. Relative luminance 0.148; OKLCH L 52.0% C 0.084 H 202.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#12777E
RGBrgb(18, 119, 126)
HSLhsl(184, 75%, 28%)
HSVhsv(184, 86%, 49%)
CMYKcmyk(85.7%, 5.6%, 0%, 50.6%)
CIE-LABlab(45.40, -23.89, -11.57)
CIE-LCHlch(45.40, 26.54, 205.84°)
OKLaboklab(52.02% -0.0781 -0.0322)
OKLCHoklch(52.02% 0.084 202.4)
XYZxyz(10.6105, 14.8272, 22.0373)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12777E #7E1912
analogous
#127E4F #12777E #12417E
triadic
#12777E #7E1277 #777E12
tetradic
#12777E #4F127E #7E1912 #417E12
square
#12777E #4F127E #7E1912 #417E12
split-complementary
#12777E #7E1241 #7E4F12
monochromatic
#04191B #0A4448 #12777E #1AAAB4 #2AD5E1

Accessibility & contrast

On white

5.30
#12777E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#12777E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12777E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12777E#FFFFFF#000000##FFFFFF
##12777E1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D717F
Deuteranopia (green-blind)
#5F677E
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #12777e;
/* rgb */ color: rgb(18, 119, 126);
/* oklch */ color: oklch(52.0% 0.084 202.4);
Tailwind
colors: {
  custom: {
    50: '#689ea3',
    500: '#12777e',
    950: '#000000',
  },
}
SCSS
$custom: #12777e;
$custom-light: #689ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#12777e",
  "rgb": {
    "r": 18,
    "g": 119,
    "b": 126
  },
  "hsl": {
    "h": 183.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.08446,
    "h": 202.4
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#12777E
secondary
#B44038
accent
#4236F2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12777E

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

Preview Lab → · Contrast checker → · Palette generator →

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