#126742#126742

#126742 is a mid, moderate teal. Relative luminance 0.102; OKLCH L 45.6% C 0.098 H 158.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#126742
RGBrgb(18, 103, 66)
HSLhsl(154, 70%, 24%)
HSVhsv(154, 83%, 40%)
CMYKcmyk(82.5%, 0%, 35.9%, 59.6%)
CIE-LABlab(38.24, -33.79, 14.14)
CIE-LCHlch(38.24, 36.63, 157.29°)
OKLaboklab(45.59% -0.0916 0.0357)
OKLCHoklch(45.59% 0.098 158.7)
XYZxyz(6.0824, 10.2217, 6.8056)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126742 #671237
analogous
#126717 #126742 #126167
triadic
#126742 #421267 #674212
tetradic
#126742 #171267 #671237 #616712
square
#126742 #171267 #671237 #616712
split-complementary
#126742 #671261 #671712
monochromatic
#051A11 #093321 #126742 #1B9B63 #24CF85

Accessibility & contrast

On white

6.90
#126742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#126742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126742
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126742#FFFFFF#000000##FFFFFF
##1267421.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E40
Deuteranopia (green-blind)
#5C5744
Tritanopia (blue-blind)
#00665D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126742;
/* rgb */ color: rgb(18, 103, 66);
/* oklch */ color: oklch(45.6% 0.098 158.7);
Tailwind
colors: {
  custom: {
    50: '#609376',
    500: '#126742',
    950: '#000000',
  },
}
SCSS
$custom: #126742;
$custom-light: #609376;
$custom-dark: #000000;
JSON
{
  "hex": "#126742",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 66
  },
  "hsl": {
    "h": 153.882,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45593,
    "c": 0.09826,
    "h": 158.7
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#126742
secondary
#9F3664
accent
#3B88ED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #126742

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

Preview Lab → · Contrast checker → · Palette generator →

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