#126270#126270

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

Color values

HEX#126270
RGBrgb(18, 98, 112)
HSLhsl(189, 72%, 25%)
HSVhsv(189, 84%, 44%)
CMYKcmyk(83.9%, 12.5%, 0%, 56.1%)
CIE-LABlab(37.90, -17.49, -14.48)
CIE-LCHlch(37.90, 22.70, 219.61°)
OKLaboklab(45.78% -0.0627 -0.0404)
OKLCHoklch(45.78% 0.075 212.8)
XYZxyz(7.5405, 10.0329, 16.8652)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126270 #702012
analogous
#12704F #126270 #123370
triadic
#126270 #701262 #627012
tetradic
#126270 #4F1270 #702012 #337012
square
#126270 #4F1270 #702012 #337012
split-complementary
#126270 #701233 #704F12
monochromatic
#04171A #0A343B #126270 #1A90A5 #23BED9

Accessibility & contrast

On white

6.98
#126270 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126270
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126270#FFFFFF#000000##FFFFFF
##1262701.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E71
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#006866
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126270;
/* rgb */ color: rgb(18, 98, 112);
/* oklch */ color: oklch(45.8% 0.075 212.8);
Tailwind
colors: {
  custom: {
    50: '#638f99',
    500: '#126270',
    950: '#000000',
  },
}
SCSS
$custom: #126270;
$custom-light: #638f99;
$custom-dark: #000000;
JSON
{
  "hex": "#126270",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 112
  },
  "hsl": {
    "h": 188.936,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.07457,
    "h": 212.8
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#126270
secondary
#A74737
accent
#5439EF
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#060C0D
muted
#7A7D7E

Preview Lab

Preview with #126270

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

Preview Lab → · Contrast checker → · Palette generator →

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