#126054#126054

#126054 is a dark, moderate teal. Relative luminance 0.091; OKLCH L 44.1% C 0.074 H 179.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#126054
RGBrgb(18, 96, 84)
HSLhsl(171, 68%, 22%)
HSVhsv(171, 81%, 38%)
CMYKcmyk(81.3%, 0%, 12.5%, 62.4%)
CIE-LABlab(36.24, -25.74, 0.35)
CIE-LCHlch(36.24, 25.74, 179.23°)
OKLaboklab(44.1% -0.0743 0.0005)
OKLCHoklch(44.1% 0.074 179.6)
XYZxyz(6.0318, 9.1337, 9.8309)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126054 #60121E
analogous
#12602D #126054 #124560
triadic
#126054 #541260 #605412
tetradic
#126054 #2D1260 #60121E #456012
square
#126054 #2D1260 #60121E #456012
split-complementary
#126054 #601245 #602D12
monochromatic
#051A17 #082C27 #126054 #1C9481 #25C7AE

Accessibility & contrast

On white

7.43
#126054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#126054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126054
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126054#FFFFFF#000000##FFFFFF
##1260541.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5A54
Deuteranopia (green-blind)
#515255
Tritanopia (blue-blind)
#00625C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #126054;
/* rgb */ color: rgb(18, 96, 84);
/* oklch */ color: oklch(44.1% 0.074 179.6);
Tailwind
colors: {
  custom: {
    50: '#5f8d84',
    500: '#126054',
    950: '#000000',
  },
}
SCSS
$custom: #126054;
$custom-light: #5f8d84;
$custom-dark: #000000;
JSON
{
  "hex": "#126054",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 84
  },
  "hsl": {
    "h": 170.769,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44104,
    "c": 0.07426,
    "h": 179.6
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#126054
secondary
#983645
accent
#3D57EB
background
#F6F8F8
surface
#EBF0EF
border
#C6CBCA
text
#050C0A
muted
#7A7D7C

Preview Lab

Preview with #126054

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

Preview Lab → · Contrast checker → · Palette generator →

#126054 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva