#126271#126271

#126271 is a mid, moderate teal. Relative luminance 0.101; OKLCH L 45.8% C 0.075 H 214.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#126271
RGBrgb(18, 98, 113)
HSLhsl(189, 73%, 26%)
HSVhsv(189, 84%, 44%)
CMYKcmyk(84.1%, 13.3%, 0%, 55.7%)
CIE-LABlab(37.94, -17.13, -15.03)
CIE-LCHlch(37.94, 22.79, 221.26°)
OKLaboklab(45.82% -0.0622 -0.042)
OKLCHoklch(45.82% 0.075 214)
XYZxyz(7.5965, 10.0553, 17.1601)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126271 #712112
analogous
#127150 #126271 #123271
triadic
#126271 #711262 #627112
tetradic
#126271 #501271 #712112 #327112
square
#126271 #501271 #712112 #327112
split-complementary
#126271 #711232 #715012
monochromatic
#04171A #0A343C #126271 #1A90A6 #23BEDB

Accessibility & contrast

On white

6.97
#126271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#126271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126271
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126271#FFFFFF#000000##FFFFFF
##1262711.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E72
Deuteranopia (green-blind)
#4B5571
Tritanopia (blue-blind)
#006867
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126271;
/* rgb */ color: rgb(18, 98, 113);
/* oklch */ color: oklch(45.8% 0.075 214.0);
Tailwind
colors: {
  custom: {
    50: '#638f99',
    500: '#126271',
    950: '#000000',
  },
}
SCSS
$custom: #126271;
$custom-light: #638f99;
$custom-dark: #000000;
JSON
{
  "hex": "#126271",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 189.474,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45822,
    "c": 0.07506,
    "h": 214
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#126271
secondary
#A84937
accent
#5539EF
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#060C0E
muted
#7A7D7E

Preview Lab

Preview with #126271

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

Preview Lab → · Contrast checker → · Palette generator →

#126271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva