#126A51#126A51

#126A51 is a mid, moderate teal. Relative luminance 0.110; OKLCH L 46.9% C 0.089 H 168.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#126A51
RGBrgb(18, 106, 81)
HSLhsl(163, 71%, 24%)
HSVhsv(163, 83%, 42%)
CMYKcmyk(83%, 0%, 23.6%, 58.4%)
CIE-LABlab(39.63, -31.33, 7.06)
CIE-LCHlch(39.63, 32.11, 167.31°)
OKLaboklab(46.85% -0.0869 0.018)
OKLCHoklch(46.85% 0.089 168.3)
XYZxyz(6.8879, 11.0299, 9.5490)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A51 #6A122B
analogous
#126A25 #126A51 #12576A
triadic
#126A51 #51126A #6A5112
tetradic
#126A51 #25126A #6A122B #576A12
square
#126A51 #25126A #6A122B #576A12
split-complementary
#126A51 #6A1257 #6A2512
monochromatic
#041A14 #093629 #126A51 #1B9E79 #24D3A1

Accessibility & contrast

On white

6.55
#126A51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#126A51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A51
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A51#FFFFFF#000000##FFFFFF
##126A511.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676250
Deuteranopia (green-blind)
#5C5A53
Tritanopia (blue-blind)
#006B63
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126a51;
/* rgb */ color: rgb(18, 106, 81);
/* oklch */ color: oklch(46.9% 0.089 168.3);
Tailwind
colors: {
  custom: {
    50: '#619581',
    500: '#126a51',
    950: '#000000',
  },
}
SCSS
$custom: #126a51;
$custom-light: #619581;
$custom-dark: #000000;
JSON
{
  "hex": "#126a51",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 81
  },
  "hsl": {
    "h": 162.955,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.08871,
    "h": 168.3
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#126A51
secondary
#A23655
accent
#3A6DEE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126A51

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

Preview Lab → · Contrast checker → · Palette generator →

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