#126A42#126A42

#126A42 is a mid, moderate teal. Relative luminance 0.108; OKLCH L 46.5% C 0.103 H 157.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#126A42
RGBrgb(18, 106, 66)
HSLhsl(153, 71%, 24%)
HSVhsv(153, 83%, 42%)
CMYKcmyk(83%, 0%, 37.7%, 58.4%)
CIE-LABlab(39.29, -35.06, 15.57)
CIE-LCHlch(39.29, 38.36, 156.06°)
OKLaboklab(46.46% -0.0948 0.0391)
OKLCHoklch(46.46% 0.103 157.6)
XYZxyz(6.3862, 10.8292, 6.9069)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A42 #6A123A
analogous
#126A16 #126A42 #12666A
triadic
#126A42 #42126A #6A4212
tetradic
#126A42 #16126A #6A123A #666A12
square
#126A42 #16126A #6A123A #666A12
split-complementary
#126A42 #6A1266 #6A1612
monochromatic
#041A10 #093621 #126A42 #1B9E63 #24D383

Accessibility & contrast

On white

6.63
#126A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#126A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A42
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A42#FFFFFF#000000##FFFFFF
##126A421.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613F
Deuteranopia (green-blind)
#5F5A45
Tritanopia (blue-blind)
#006960
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126a42;
/* rgb */ color: rgb(18, 106, 66);
/* oklch */ color: oklch(46.5% 0.103 157.6);
Tailwind
colors: {
  custom: {
    50: '#619576',
    500: '#126a42',
    950: '#000000',
  },
}
SCSS
$custom: #126a42;
$custom-light: #619576;
$custom-dark: #000000;
JSON
{
  "hex": "#126a42",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 66
  },
  "hsl": {
    "h": 152.727,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46462,
    "c": 0.10254,
    "h": 157.6
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

primary
#126A42
secondary
#A23667
accent
#3A8CEE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #126A42

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

Preview Lab → · Contrast checker → · Palette generator →

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