#126E4A#126E4A

#126E4A is a mid, moderate teal. Relative luminance 0.118; OKLCH L 47.8% C 0.100 H 160.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#126E4A
RGBrgb(18, 110, 74)
HSLhsl(157, 72%, 25%)
HSVhsv(157, 84%, 43%)
CMYKcmyk(83.6%, 0%, 32.7%, 56.9%)
CIE-LABlab(40.85, -34.88, 12.96)
CIE-LCHlch(40.85, 37.21, 159.62°)
OKLaboklab(47.81% -0.0949 0.0329)
OKLCHoklch(47.81% 0.1 160.9)
XYZxyz(7.0606, 11.7740, 8.3777)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E4A #6E1236
analogous
#126E1C #126E4A #12646E
triadic
#126E4A #4A126E #6E4A12
tetradic
#126E4A #1C126E #6E1236 #646E12
square
#126E4A #1C126E #6E1236 #646E12
split-complementary
#126E4A #6E1264 #6E1C12
monochromatic
#041A12 #093927 #126E4A #1BA36D #23D791

Accessibility & contrast

On white

6.26
#126E4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#126E4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E4A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E4A#FFFFFF#000000##FFFFFF
##126E4A1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6548
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126e4a;
/* rgb */ color: rgb(18, 110, 74);
/* oklch */ color: oklch(47.8% 0.100 160.9);
Tailwind
colors: {
  custom: {
    50: '#62987c',
    500: '#126e4a',
    950: '#000000',
  },
}
SCSS
$custom: #126e4a;
$custom-light: #62987c;
$custom-dark: #000000;
JSON
{
  "hex": "#126e4a",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 74
  },
  "hsl": {
    "h": 156.522,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47806,
    "c": 0.1004,
    "h": 160.9
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#126E4A
secondary
#A53762
accent
#3980EF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E09
muted
#7A7E7B

Preview Lab

Preview with #126E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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