#126A4C#126A4C

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

Color values

HEX#126A4C
RGBrgb(18, 106, 76)
HSLhsl(160, 71%, 24%)
HSVhsv(160, 83%, 42%)
CMYKcmyk(83%, 0%, 28.3%, 58.4%)
CIE-LABlab(39.51, -32.64, 9.90)
CIE-LCHlch(39.51, 34.11, 163.13°)
OKLaboklab(46.71% -0.0895 0.0252)
OKLCHoklch(46.71% 0.093 164.3)
XYZxyz(6.7072, 10.9576, 8.5976)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A4C #6A1230
analogous
#126A20 #126A4C #125C6A
triadic
#126A4C #4C126A #6A4C12
tetradic
#126A4C #20126A #6A1230 #5C6A12
square
#126A4C #20126A #6A1230 #5C6A12
split-complementary
#126A4C #6A125C #6A2012
monochromatic
#041A13 #093626 #126A4C #1B9E72 #24D397

Accessibility & contrast

On white

6.58
#126A4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A4C
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A4C#FFFFFF#000000##FFFFFF
##126A4C1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126a4c;
/* rgb */ color: rgb(18, 106, 76);
/* oklch */ color: oklch(46.7% 0.093 164.3);
Tailwind
colors: {
  custom: {
    50: '#61957e',
    500: '#126a4c',
    950: '#000000',
  },
}
SCSS
$custom: #126a4c;
$custom-light: #61957e;
$custom-dark: #000000;
JSON
{
  "hex": "#126a4c",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 76
  },
  "hsl": {
    "h": 159.545,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.093,
    "h": 164.3
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#126A4C
secondary
#A2365B
accent
#3A77EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #126A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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