#126C42#126C42

#126C42 is a mid, moderate teal. Relative luminance 0.112; OKLCH L 47.0% C 0.105 H 156.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#126C42
RGBrgb(18, 108, 66)
HSLhsl(152, 71%, 25%)
HSVhsv(152, 83%, 42%)
CMYKcmyk(83.3%, 0%, 38.9%, 57.6%)
CIE-LABlab(39.99, -35.89, 16.51)
CIE-LCHlch(39.99, 39.50, 155.30°)
OKLaboklab(47.04% -0.0969 0.0414)
OKLCHoklch(47.04% 0.105 156.9)
XYZxyz(6.5947, 11.2463, 6.9764)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C42 #6C123C
analogous
#126C15 #126C42 #12696C
triadic
#126C42 #42126C #6C4212
tetradic
#126C42 #15126C #6C123C #696C12
square
#126C42 #15126C #6C123C #696C12
split-complementary
#126C42 #6C1269 #6C1512
monochromatic
#041A10 #093822 #126C42 #1BA062 #23D582

Accessibility & contrast

On white

6.46
#126C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#126C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C42
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C42#FFFFFF#000000##FFFFFF
##126C421.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B633F
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#006B61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126c42;
/* rgb */ color: rgb(18, 108, 66);
/* oklch */ color: oklch(47.0% 0.105 156.9);
Tailwind
colors: {
  custom: {
    50: '#619776',
    500: '#126c42',
    950: '#000000',
  },
}
SCSS
$custom: #126c42;
$custom-light: #619776;
$custom-dark: #000000;
JSON
{
  "hex": "#126c42",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 66
  },
  "hsl": {
    "h": 152,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47041,
    "c": 0.10538,
    "h": 156.9
  },
  "luminance": 0.11247
}

Semantic roles & 50–950 ramp

primary
#126C42
secondary
#A33669
accent
#3A8EEE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #126C42

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

Preview Lab → · Contrast checker → · Palette generator →

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