#126F42#126F42

#126F42 is a mid, moderate teal. Relative luminance 0.119; OKLCH L 47.9% C 0.110 H 155.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#126F42
RGBrgb(18, 111, 66)
HSLhsl(151, 72%, 25%)
HSVhsv(151, 84%, 44%)
CMYKcmyk(83.8%, 0%, 40.5%, 56.5%)
CIE-LABlab(41.04, -37.12, 17.91)
CIE-LCHlch(41.04, 41.21, 154.24°)
OKLaboklab(47.91% -0.1001 0.0447)
OKLCHoklch(47.91% 0.11 155.9)
XYZxyz(6.9166, 11.8900, 7.0837)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F42 #6F123F
analogous
#126F14 #126F42 #126D6F
triadic
#126F42 #42126F #6F4212
tetradic
#126F42 #14126F #6F123F #6D6F12
square
#126F42 #14126F #6F123F #6D6F12
split-complementary
#126F42 #6F126D #6F1412
monochromatic
#041A10 #093A23 #126F42 #1BA461 #23D881

Accessibility & contrast

On white

6.22
#126F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#126F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F42
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F42#FFFFFF#000000##FFFFFF
##126F421.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E653F
Deuteranopia (green-blind)
#645E45
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #126f42;
/* rgb */ color: rgb(18, 111, 66);
/* oklch */ color: oklch(47.9% 0.110 155.9);
Tailwind
colors: {
  custom: {
    50: '#629977',
    500: '#126f42',
    950: '#000000',
  },
}
SCSS
$custom: #126f42;
$custom-light: #629977;
$custom-dark: #000000;
JSON
{
  "hex": "#126f42",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 66
  },
  "hsl": {
    "h": 150.968,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47906,
    "c": 0.10962,
    "h": 155.9
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#126F42
secondary
#A6376D
accent
#3991EF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #126F42

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

Preview Lab → · Contrast checker → · Palette generator →

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