#126C54#126C54

#126C54 is a mid, moderate teal. Relative luminance 0.115; OKLCH L 47.5% C 0.089 H 169.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#126C54
RGBrgb(18, 108, 84)
HSLhsl(164, 71%, 25%)
HSVhsv(164, 83%, 42%)
CMYKcmyk(83.3%, 0%, 22.2%, 57.6%)
CIE-LABlab(40.40, -31.43, 6.33)
CIE-LCHlch(40.40, 32.06, 168.60°)
OKLaboklab(47.51% -0.0874 0.0162)
OKLCHoklch(47.51% 0.089 169.5)
XYZxyz(7.2114, 11.4929, 10.2241)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C54 #6C122A
analogous
#126C27 #126C54 #12576C
triadic
#126C54 #54126C #6C5412
tetradic
#126C54 #27126C #6C122A #576C12
square
#126C54 #27126C #6C122A #576C12
split-complementary
#126C54 #6C1257 #6C2712
monochromatic
#041A14 #09382B #126C54 #1BA07D #23D5A6

Accessibility & contrast

On white

6.37
#126C54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#126C54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C54
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C54#FFFFFF#000000##FFFFFF
##126C541.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696453
Deuteranopia (green-blind)
#5E5C56
Tritanopia (blue-blind)
#006D65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126c54;
/* rgb */ color: rgb(18, 108, 84);
/* oklch */ color: oklch(47.5% 0.089 169.5);
Tailwind
colors: {
  custom: {
    50: '#629784',
    500: '#126c54',
    950: '#000000',
  },
}
SCSS
$custom: #126c54;
$custom-light: #629784;
$custom-dark: #000000;
JSON
{
  "hex": "#126c54",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 84
  },
  "hsl": {
    "h": 164,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.08892,
    "h": 169.5
  },
  "luminance": 0.11494
}

Semantic roles & 50–950 ramp

primary
#126C54
secondary
#A33653
accent
#3A6AEE
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126C54

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

Preview Lab → · Contrast checker → · Palette generator →

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