#126D7A#126D7A

#126D7A is a mid, moderate teal. Relative luminance 0.125; OKLCH L 49.2% C 0.080 H 209.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#126D7A
RGBrgb(18, 109, 122)
HSLhsl(188, 74%, 27%)
HSVhsv(188, 85%, 48%)
CMYKcmyk(85.2%, 10.7%, 0%, 52.2%)
CIE-LABlab(41.95, -19.98, -14.39)
CIE-LCHlch(41.95, 24.62, 215.76°)
OKLaboklab(49.18% -0.0696 -0.0401)
OKLCHoklch(49.18% 0.08 209.9)
XYZxyz(9.2294, 12.4698, 20.3291)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D7A #7A1F12
analogous
#127A53 #126D7A #12397A
triadic
#126D7A #7A126D #6D7A12
tetradic
#126D7A #53127A #7A1F12 #397A12
square
#126D7A #53127A #7A1F12 #397A12
split-complementary
#126D7A #7A1239 #7A5312
monochromatic
#04181B #0A3D45 #126D7A #1A9DAF #27C8DF

Accessibility & contrast

On white

6.01
#126D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#126D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D7A
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D7A#FFFFFF#000000##FFFFFF
##126D7A1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62697B
Deuteranopia (green-blind)
#545F7A
Tritanopia (blue-blind)
#007371
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #126d7a;
/* rgb */ color: rgb(18, 109, 122);
/* oklch */ color: oklch(49.2% 0.080 209.9);
Tailwind
colors: {
  custom: {
    50: '#6697a0',
    500: '#126d7a',
    950: '#000000',
  },
}
SCSS
$custom: #126d7a;
$custom-light: #6697a0;
$custom-dark: #000000;
JSON
{
  "hex": "#126d7a",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 122
  },
  "hsl": {
    "h": 187.5,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.08037,
    "h": 209.9
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#126D7A
secondary
#B04738
accent
#4E37F1
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #126D7A

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

Preview Lab → · Contrast checker → · Palette generator →

#126D7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva