#126F7F#126F7F

#126F7F is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.9% C 0.083 H 212.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#126F7F
RGBrgb(18, 111, 127)
HSLhsl(189, 75%, 28%)
HSVhsv(189, 86%, 50%)
CMYKcmyk(85.8%, 12.6%, 0%, 50.2%)
CIE-LABlab(42.81, -19.31, -16.10)
CIE-LCHlch(42.81, 25.14, 219.82°)
OKLaboklab(49.93% -0.0695 -0.0449)
OKLCHoklch(49.93% 0.083 212.9)
XYZxyz(9.7630, 13.0285, 22.0748)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F7F #7F2212
analogous
#127F58 #126F7F #12387F
triadic
#126F7F #7F126F #6F7F12
tetradic
#126F7F #58127F #7F2212 #387F12
square
#126F7F #58127F #7F2212 #387F12
split-complementary
#126F7F #7F1238 #7F5812
monochromatic
#04171B #0A4049 #126F7F #1A9EB5 #2BC6E1

Accessibility & contrast

On white

5.82
#126F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#126F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F7F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F7F#FFFFFF#000000##FFFFFF
##126F7F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636B80
Deuteranopia (green-blind)
#55617F
Tritanopia (blue-blind)
#007574
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #126f7f;
/* rgb */ color: rgb(18, 111, 127);
/* oklch */ color: oklch(49.9% 0.083 212.9);
Tailwind
colors: {
  custom: {
    50: '#6798a4',
    500: '#126f7f',
    950: '#000000',
  },
}
SCSS
$custom: #126f7f;
$custom-light: #6798a4;
$custom-dark: #000000;
JSON
{
  "hex": "#126f7f",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 127
  },
  "hsl": {
    "h": 188.807,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49932,
    "c": 0.08274,
    "h": 212.9
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#126F7F
secondary
#B54A38
accent
#5236F2
background
#F6F9FA
surface
#EBF2F4
border
#C6CCCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #126F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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