#126A4A#126A4A

#126A4A is a mid, moderate teal. Relative luminance 0.109; OKLCH L 46.7% C 0.095 H 162.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#126A4A
RGBrgb(18, 106, 74)
HSLhsl(158, 71%, 24%)
HSVhsv(158, 83%, 42%)
CMYKcmyk(83%, 0%, 30.2%, 58.4%)
CIE-LABlab(39.46, -33.15, 11.04)
CIE-LCHlch(39.46, 34.94, 161.58°)
OKLaboklab(46.66% -0.0906 0.0281)
OKLCHoklch(46.66% 0.095 162.8)
XYZxyz(6.6388, 10.9303, 8.2371)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A4A #6A1232
analogous
#126A1E #126A4A #125E6A
triadic
#126A4A #4A126A #6A4A12
tetradic
#126A4A #1E126A #6A1232 #5E6A12
square
#126A4A #1E126A #6A1232 #5E6A12
split-complementary
#126A4A #6A125E #6A1E12
monochromatic
#041A12 #093625 #126A4A #1B9E6F #24D393

Accessibility & contrast

On white

6.59
#126A4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A4A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A4A#FFFFFF#000000##FFFFFF
##126A4A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686148
Deuteranopia (green-blind)
#5D5A4C
Tritanopia (blue-blind)
#006A61
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126a4a;
/* rgb */ color: rgb(18, 106, 74);
/* oklch */ color: oklch(46.7% 0.095 162.8);
Tailwind
colors: {
  custom: {
    50: '#61957c',
    500: '#126a4a',
    950: '#000000',
  },
}
SCSS
$custom: #126a4a;
$custom-light: #61957c;
$custom-dark: #000000;
JSON
{
  "hex": "#126a4a",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 74
  },
  "hsl": {
    "h": 158.182,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4666,
    "c": 0.09483,
    "h": 162.8
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#126A4A
secondary
#A2365D
accent
#3A7BEE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #126A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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