#126A5F#126A5F

#126A5F is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.3% C 0.080 H 182.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#126A5F
RGBrgb(18, 106, 95)
HSLhsl(173, 71%, 24%)
HSVhsv(173, 83%, 42%)
CMYKcmyk(83%, 0%, 10.4%, 58.4%)
CIE-LABlab(40.02, -27.30, -0.89)
CIE-LCHlch(40.02, 27.32, 181.87°)
OKLaboklab(47.3% -0.0795 -0.0028)
OKLCHoklch(47.3% 0.08 182.1)
XYZxyz(7.4680, 11.2620, 12.6044)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A5F #6A121D
analogous
#126A33 #126A5F #12496A
triadic
#126A5F #5F126A #6A5F12
tetradic
#126A5F #33126A #6A121D #496A12
square
#126A5F #33126A #6A121D #496A12
split-complementary
#126A5F #6A1249 #6A3312
monochromatic
#041A17 #093630 #126A5F #1B9E8E #24D3BD

Accessibility & contrast

On white

6.46
#126A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A5F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A5F#FFFFFF#000000##FFFFFF
##126A5F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65635F
Deuteranopia (green-blind)
#595B60
Tritanopia (blue-blind)
#006C67
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126a5f;
/* rgb */ color: rgb(18, 106, 95);
/* oklch */ color: oklch(47.3% 0.080 182.1);
Tailwind
colors: {
  custom: {
    50: '#62958c',
    500: '#126a5f',
    950: '#000000',
  },
}
SCSS
$custom: #126a5f;
$custom-light: #62958c;
$custom-dark: #000000;
JSON
{
  "hex": "#126a5f",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 95
  },
  "hsl": {
    "h": 172.5,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47299,
    "c": 0.07958,
    "h": 182.1
  },
  "luminance": 0.11263
}

Semantic roles & 50–950 ramp

primary
#126A5F
secondary
#A23644
accent
#3A51EE
background
#F6F9F8
surface
#EBF1F0
border
#C6CBCB
text
#060D0C
muted
#7A7E7D

Preview Lab

Preview with #126A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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