#126A5D#126A5D

#126A5D is a mid, moderate teal. Relative luminance 0.112; OKLCH L 47.2% C 0.081 H 179.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#126A5D
RGBrgb(18, 106, 93)
HSLhsl(171, 71%, 24%)
HSVhsv(171, 83%, 42%)
CMYKcmyk(83%, 0%, 12.3%, 58.4%)
CIE-LABlab(39.96, -27.91, 0.24)
CIE-LCHlch(39.96, 27.91, 179.50°)
OKLaboklab(47.23% -0.0806 0.0002)
OKLCHoklch(47.23% 0.081 179.9)
XYZxyz(7.3783, 11.2261, 12.1318)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A5D #6A121F
analogous
#126A31 #126A5D #124B6A
triadic
#126A5D #5D126A #6A5D12
tetradic
#126A5D #31126A #6A121F #4B6A12
square
#126A5D #31126A #6A121F #4B6A12
split-complementary
#126A5D #6A124B #6A3112
monochromatic
#041A17 #09362F #126A5D #1B9E8B #24D3B9

Accessibility & contrast

On white

6.47
#126A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#126A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A5D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A5D#FFFFFF#000000##FFFFFF
##126A5D1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65635C
Deuteranopia (green-blind)
#5A5B5E
Tritanopia (blue-blind)
#006C66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126a5d;
/* rgb */ color: rgb(18, 106, 93);
/* oklch */ color: oklch(47.2% 0.081 179.9);
Tailwind
colors: {
  custom: {
    50: '#62958a',
    500: '#126a5d',
    950: '#000000',
  },
}
SCSS
$custom: #126a5d;
$custom-light: #62958a;
$custom-dark: #000000;
JSON
{
  "hex": "#126a5d",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 93
  },
  "hsl": {
    "h": 171.136,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47231,
    "c": 0.08056,
    "h": 179.9
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#126A5D
secondary
#A23646
accent
#3A55EE
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060D0B
muted
#7A7E7C

Preview Lab

Preview with #126A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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