#126D4C#126D4C

#126D4C is a mid, moderate teal. Relative luminance 0.116; OKLCH L 47.6% C 0.097 H 162.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#126D4C
RGBrgb(18, 109, 76)
HSLhsl(158, 72%, 25%)
HSVhsv(158, 83%, 43%)
CMYKcmyk(83.5%, 0%, 30.3%, 57.3%)
CIE-LABlab(40.55, -33.96, 11.35)
CIE-LCHlch(40.55, 35.80, 161.51°)
OKLaboklab(47.57% -0.0927 0.0289)
OKLCHoklch(47.57% 0.097 162.7)
XYZxyz(7.0218, 11.5868, 8.7025)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D4C #6D1233
analogous
#126D1F #126D4C #12606D
triadic
#126D4C #4C126D #6D4C12
tetradic
#126D4C #1F126D #6D1233 #606D12
square
#126D4C #1F126D #6D1233 #606D12
split-complementary
#126D4C #6D1260 #6D1F12
monochromatic
#041A12 #093827 #126D4C #1BA271 #23D695

Accessibility & contrast

On white

6.33
#126D4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#126D4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D4C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D4C#FFFFFF#000000##FFFFFF
##126D4C1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B644A
Deuteranopia (green-blind)
#605C4E
Tritanopia (blue-blind)
#006D64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126d4c;
/* rgb */ color: rgb(18, 109, 76);
/* oklch */ color: oklch(47.6% 0.097 162.7);
Tailwind
colors: {
  custom: {
    50: '#62987e',
    500: '#126d4c',
    950: '#000000',
  },
}
SCSS
$custom: #126d4c;
$custom-light: #62987e;
$custom-dark: #000000;
JSON
{
  "hex": "#126d4c",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 76
  },
  "hsl": {
    "h": 158.242,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47571,
    "c": 0.09714,
    "h": 162.7
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#126D4C
secondary
#A4375E
accent
#397BEE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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