#126D7B#126D7B

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

Color values

HEX#126D7B
RGBrgb(18, 109, 123)
HSLhsl(188, 74%, 28%)
HSVhsv(188, 85%, 48%)
CMYKcmyk(85.4%, 11.4%, 0%, 51.8%)
CIE-LABlab(41.99, -19.63, -14.94)
CIE-LCHlch(41.99, 24.67, 217.26°)
OKLaboklab(49.22% -0.0692 -0.0417)
OKLCHoklch(49.22% 0.081 211.1)
XYZxyz(9.2917, 12.4948, 20.6571)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D7B #7B2012
analogous
#127B54 #126D7B #12387B
triadic
#126D7B #7B126D #6D7B12
tetradic
#126D7B #54127B #7B2012 #387B12
square
#126D7B #54127B #7B2012 #387B12
split-complementary
#126D7B #7B1238 #7B5412
monochromatic
#04181B #0A3E46 #126D7B #1A9CB0 #28C7E0

Accessibility & contrast

On white

6.00
#126D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#126D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D7B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D7B#FFFFFF#000000##FFFFFF
##126D7B1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126d7b;
/* rgb */ color: rgb(18, 109, 123);
/* oklch */ color: oklch(49.2% 0.081 211.1);
Tailwind
colors: {
  custom: {
    50: '#6697a1',
    500: '#126d7b',
    950: '#000000',
  },
}
SCSS
$custom: #126d7b;
$custom-light: #6697a1;
$custom-dark: #000000;
JSON
{
  "hex": "#126d7b",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 123
  },
  "hsl": {
    "h": 188,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49223,
    "c": 0.08076,
    "h": 211.1
  },
  "luminance": 0.12496
}

Semantic roles & 50–950 ramp

primary
#126D7B
secondary
#B14838
accent
#5037F1
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #126D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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