#126262#126262

#126262 is a mid, moderate teal. Relative luminance 0.097; OKLCH L 45.2% C 0.072 H 194.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#126262
RGBrgb(18, 98, 98)
HSLhsl(180, 69%, 23%)
HSVhsv(180, 82%, 38%)
CMYKcmyk(81.6%, 0%, 0%, 61.6%)
CIE-LABlab(37.38, -22.31, -6.63)
CIE-LCHlch(37.38, 23.28, 196.56°)
OKLaboklab(45.18% -0.0693 -0.0185)
OKLCHoklch(45.18% 0.072 194.9)
XYZxyz(6.8207, 9.7450, 13.0744)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126262 #621212
analogous
#12623A #126262 #123A62
triadic
#126262 #621262 #626212
tetradic
#126262 #3A1262 #621212 #3A6212
square
#126262 #3A1262 #621212 #3A6212
split-complementary
#126262 #62123A #623A12
monochromatic
#051A1A #092E2E #126262 #1B9696 #25C9C9

Accessibility & contrast

On white

7.12
#126262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#126262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126262
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126262#FFFFFF#000000##FFFFFF
##1262621.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5D62
Deuteranopia (green-blind)
#505463
Tritanopia (blue-blind)
#006562
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126262;
/* rgb */ color: rgb(18, 98, 98);
/* oklch */ color: oklch(45.2% 0.072 194.9);
Tailwind
colors: {
  custom: {
    50: '#618f8e',
    500: '#126262',
    950: '#000000',
  },
}
SCSS
$custom: #126262;
$custom-light: #618f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#126262",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 98
  },
  "hsl": {
    "h": 180,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45182,
    "c": 0.07173,
    "h": 194.9
  },
  "luminance": 0.09746
}

Semantic roles & 50–950 ramp

primary
#126262
secondary
#9A3636
accent
#3C3CEC
background
#F6F8F8
surface
#EBF0F0
border
#C6CBCB
text
#060C0C
muted
#7A7D7D

Preview Lab

Preview with #126262

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

Preview Lab → · Contrast checker → · Palette generator →

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