#126A47#126A47

#126A47 is a mid, moderate teal. Relative luminance 0.109; OKLCH L 46.6% C 0.098 H 160.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#126A47
RGBrgb(18, 106, 71)
HSLhsl(156, 71%, 24%)
HSVhsv(156, 83%, 42%)
CMYKcmyk(83%, 0%, 33%, 58.4%)
CIE-LABlab(39.40, -33.89, 12.74)
CIE-LCHlch(39.40, 36.20, 159.39°)
OKLaboklab(46.58% -0.0922 0.0323)
OKLCHoklch(46.58% 0.098 160.7)
XYZxyz(6.5401, 10.8908, 7.7175)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A47 #6A1235
analogous
#126A1B #126A47 #12616A
triadic
#126A47 #47126A #6A4712
tetradic
#126A47 #1B126A #6A1235 #616A12
square
#126A47 #1B126A #6A1235 #616A12
split-complementary
#126A47 #6A1261 #6A1B12
monochromatic
#041A12 #093624 #126A47 #1B9E6A #24D38D

Accessibility & contrast

On white

6.61
#126A47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#126A47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A47
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A47#FFFFFF#000000##FFFFFF
##126A471.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126a47;
/* rgb */ color: rgb(18, 106, 71);
/* oklch */ color: oklch(46.6% 0.098 160.7);
Tailwind
colors: {
  custom: {
    50: '#61957a',
    500: '#126a47',
    950: '#000000',
  },
}
SCSS
$custom: #126a47;
$custom-light: #61957a;
$custom-dark: #000000;
JSON
{
  "hex": "#126a47",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 71
  },
  "hsl": {
    "h": 156.136,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46583,
    "c": 0.09765,
    "h": 160.7
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#126A47
secondary
#A23661
accent
#3A82EE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #126A47

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

Preview Lab → · Contrast checker → · Palette generator →

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