#126F5A#126F5A

#126F5A is a mid, moderate teal. Relative luminance 0.122; OKLCH L 48.5% C 0.088 H 172.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#126F5A
RGBrgb(18, 111, 90)
HSLhsl(166, 72%, 25%)
HSVhsv(166, 84%, 44%)
CMYKcmyk(83.8%, 0%, 18.9%, 56.5%)
CIE-LABlab(41.59, -31.14, 4.41)
CIE-LCHlch(41.59, 31.45, 171.93°)
OKLaboklab(48.54% -0.0875 0.0112)
OKLCHoklch(48.54% 0.088 172.7)
XYZxyz(7.7784, 12.2347, 11.6225)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F5A #6F1227
analogous
#126F2C #126F5A #12556F
triadic
#126F5A #5A126F #6F5A12
tetradic
#126F5A #2C126F #6F1227 #556F12
square
#126F5A #2C126F #6F1227 #556F12
split-complementary
#126F5A #6F1255 #6F2C12
monochromatic
#041A15 #093A2F #126F5A #1BA485 #23D8AF

Accessibility & contrast

On white

6.09
#126F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#126F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F5A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F5A#FFFFFF#000000##FFFFFF
##126F5A1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6759
Deuteranopia (green-blind)
#605F5B
Tritanopia (blue-blind)
#007069
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #126f5a;
/* rgb */ color: rgb(18, 111, 90);
/* oklch */ color: oklch(48.5% 0.088 172.7);
Tailwind
colors: {
  custom: {
    50: '#639988',
    500: '#126f5a',
    950: '#000000',
  },
}
SCSS
$custom: #126f5a;
$custom-light: #639988;
$custom-dark: #000000;
JSON
{
  "hex": "#126f5a",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 90
  },
  "hsl": {
    "h": 166.452,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48536,
    "c": 0.08823,
    "h": 172.7
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#126F5A
secondary
#A63750
accent
#3962EF
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#060E0B
muted
#7A7E7C

Preview Lab

Preview with #126F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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