#126D7F#126D7F

#126D7F is a mid, moderate teal. Relative luminance 0.126; OKLCH L 49.4% C 0.083 H 215.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#126D7F
RGBrgb(18, 109, 127)
HSLhsl(190, 75%, 28%)
HSVhsv(190, 86%, 50%)
CMYKcmyk(85.8%, 14.2%, 0%, 50.2%)
CIE-LABlab(42.15, -18.22, -17.11)
CIE-LCHlch(42.15, 24.99, 223.19°)
OKLaboklab(49.4% -0.0674 -0.0478)
OKLCHoklch(49.4% 0.083 215.3)
XYZxyz(9.5472, 12.5970, 22.0028)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D7F #7F2412
analogous
#127F5A #126D7F #12367F
triadic
#126D7F #7F126D #6D7F12
tetradic
#126D7F #5A127F #7F2412 #367F12
square
#126D7F #5A127F #7F2412 #367F12
split-complementary
#126D7F #7F1236 #7F5A12
monochromatic
#04171B #0A3F49 #126D7F #1A9BB5 #2BC3E1

Accessibility & contrast

On white

5.97
#126D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#126D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D7F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D7F#FFFFFF#000000##FFFFFF
##126D7F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616980
Deuteranopia (green-blind)
#535F7F
Tritanopia (blue-blind)
#007473
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #126d7f;
/* rgb */ color: rgb(18, 109, 127);
/* oklch */ color: oklch(49.4% 0.083 215.3);
Tailwind
colors: {
  custom: {
    50: '#6797a4',
    500: '#126d7f',
    950: '#000000',
  },
}
SCSS
$custom: #126d7f;
$custom-light: #6797a4;
$custom-dark: #000000;
JSON
{
  "hex": "#126d7f",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 127
  },
  "hsl": {
    "h": 189.908,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.08266,
    "h": 215.3
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

primary
#126D7F
secondary
#B54D38
accent
#5536F2
background
#F6F9FA
surface
#EBF2F4
border
#C6CCCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #126D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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