#126142#126142

#126142 is a dark, moderate teal. Relative luminance 0.091; OKLCH L 43.8% C 0.090 H 161.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#126142
RGBrgb(18, 97, 66)
HSLhsl(156, 69%, 23%)
HSVhsv(156, 81%, 38%)
CMYKcmyk(81.4%, 0%, 32%, 62%)
CIE-LABlab(36.12, -31.18, 11.24)
CIE-LCHlch(36.12, 33.15, 160.17°)
OKLaboklab(43.85% -0.085 0.0286)
OKLCHoklch(43.85% 0.09 161.4)
XYZxyz(5.5069, 9.0707, 6.6138)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126142 #611231
analogous
#12611B #126142 #125861
triadic
#126142 #421261 #614212
tetradic
#126142 #1B1261 #611231 #586112
square
#126142 #1B1261 #611231 #586112
split-complementary
#126142 #611258 #611B12
monochromatic
#051A12 #082D1F #126142 #1C9565 #25C888

Accessibility & contrast

On white

7.46
#126142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#126142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126142
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126142#FFFFFF#000000##FFFFFF
##1261421.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5940
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#006159
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #126142;
/* rgb */ color: rgb(18, 97, 66);
/* oklch */ color: oklch(43.8% 0.090 161.4);
Tailwind
colors: {
  custom: {
    50: '#5e8e76',
    500: '#126142',
    950: '#000000',
  },
}
SCSS
$custom: #126142;
$custom-light: #5e8e76;
$custom-dark: #000000;
JSON
{
  "hex": "#126142",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 66
  },
  "hsl": {
    "h": 156.456,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43849,
    "c": 0.08967,
    "h": 161.4
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#126142
secondary
#99365D
accent
#3C81EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #126142

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

Preview Lab → · Contrast checker → · Palette generator →

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