#126C4A#126C4A

#126C4A is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.2% C 0.098 H 161.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#126C4A
RGBrgb(18, 108, 74)
HSLhsl(157, 71%, 25%)
HSVhsv(157, 83%, 42%)
CMYKcmyk(83.3%, 0%, 31.5%, 57.6%)
CIE-LABlab(40.16, -34.02, 12.00)
CIE-LCHlch(40.16, 36.07, 160.57°)
OKLaboklab(47.23% -0.0927 0.0305)
OKLCHoklch(47.23% 0.098 161.8)
XYZxyz(6.8473, 11.3473, 8.3066)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C4A #6C1234
analogous
#126C1D #126C4A #12616C
triadic
#126C4A #4A126C #6C4A12
tetradic
#126C4A #1D126C #6C1234 #616C12
square
#126C4A #1D126C #6C1234 #616C12
split-complementary
#126C4A #6C1261 #6C1D12
monochromatic
#041A12 #093826 #126C4A #1BA06E #23D592

Accessibility & contrast

On white

6.42
#126C4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#126C4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C4A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C4A#FFFFFF#000000##FFFFFF
##126C4A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6348
Deuteranopia (green-blind)
#5F5B4C
Tritanopia (blue-blind)
#006C63
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126c4a;
/* rgb */ color: rgb(18, 108, 74);
/* oklch */ color: oklch(47.2% 0.098 161.8);
Tailwind
colors: {
  custom: {
    50: '#61977c',
    500: '#126c4a',
    950: '#000000',
  },
}
SCSS
$custom: #126c4a;
$custom-light: #61977c;
$custom-dark: #000000;
JSON
{
  "hex": "#126c4a",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 74
  },
  "hsl": {
    "h": 157.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47233,
    "c": 0.09761,
    "h": 161.8
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#126C4A
secondary
#A33660
accent
#3A7EEE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #126C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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