#126042#126042

#126042 is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.6% C 0.088 H 161.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#126042
RGBrgb(18, 96, 66)
HSLhsl(157, 68%, 22%)
HSVhsv(157, 81%, 38%)
CMYKcmyk(81.3%, 0%, 31.3%, 62.4%)
CIE-LABlab(35.77, -30.73, 10.75)
CIE-LCHlch(35.77, 32.56, 160.71°)
OKLaboklab(43.56% -0.0839 0.0273)
OKLCHoklch(43.56% 0.088 161.9)
XYZxyz(5.4151, 8.8870, 6.5832)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126042 #601230
analogous
#12601B #126042 #125760
triadic
#126042 #421260 #604212
tetradic
#126042 #1B1260 #601230 #576012
square
#126042 #1B1260 #601230 #576012
split-complementary
#126042 #601257 #601B12
monochromatic
#051A12 #082C1F #126042 #1C9465 #25C789

Accessibility & contrast

On white

7.56
#126042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#126042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126042
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126042#FFFFFF#000000##FFFFFF
##1260421.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5840
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#006058
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126042;
/* rgb */ color: rgb(18, 96, 66);
/* oklch */ color: oklch(43.6% 0.088 161.9);
Tailwind
colors: {
  custom: {
    50: '#5e8e76',
    500: '#126042',
    950: '#000000',
  },
}
SCSS
$custom: #126042;
$custom-light: #5e8e76;
$custom-dark: #000000;
JSON
{
  "hex": "#126042",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 66
  },
  "hsl": {
    "h": 156.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43558,
    "c": 0.08823,
    "h": 161.9
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#126042
secondary
#98365C
accent
#3D80EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #126042

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

Preview Lab → · Contrast checker → · Palette generator →

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