#126A4D#126A4D

#126A4D is a mid, moderate teal. Relative luminance 0.110; OKLCH L 46.7% C 0.092 H 165.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#126A4D
RGBrgb(18, 106, 77)
HSLhsl(160, 71%, 24%)
HSVhsv(160, 83%, 42%)
CMYKcmyk(83%, 0%, 27.4%, 58.4%)
CIE-LABlab(39.53, -32.39, 9.33)
CIE-LCHlch(39.53, 33.70, 163.92°)
OKLaboklab(46.74% -0.089 0.0238)
OKLCHoklch(46.74% 0.092 165)
XYZxyz(6.7423, 10.9717, 8.7821)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A4D #6A122F
analogous
#126A21 #126A4D #125B6A
triadic
#126A4D #4D126A #6A4D12
tetradic
#126A4D #21126A #6A122F #5B6A12
square
#126A4D #21126A #6A122F #5B6A12
split-complementary
#126A4D #6A125B #6A2112
monochromatic
#041A13 #093627 #126A4D #1B9E73 #24D399

Accessibility & contrast

On white

6.57
#126A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#126A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A4D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A4D#FFFFFF#000000##FFFFFF
##126A4D1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68624B
Deuteranopia (green-blind)
#5D5A4F
Tritanopia (blue-blind)
#006A62
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126a4d;
/* rgb */ color: rgb(18, 106, 77);
/* oklch */ color: oklch(46.7% 0.092 165.0);
Tailwind
colors: {
  custom: {
    50: '#61957e',
    500: '#126a4d',
    950: '#000000',
  },
}
SCSS
$custom: #126a4d;
$custom-light: #61957e;
$custom-dark: #000000;
JSON
{
  "hex": "#126a4d",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 77
  },
  "hsl": {
    "h": 160.227,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46741,
    "c": 0.09211,
    "h": 165
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#126A4D
secondary
#A2365A
accent
#3A75EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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