#126D4D#126D4D

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

Color values

HEX#126D4D
RGBrgb(18, 109, 77)
HSLhsl(159, 72%, 25%)
HSVhsv(159, 83%, 43%)
CMYKcmyk(83.5%, 0%, 29.4%, 57.3%)
CIE-LABlab(40.57, -33.71, 10.79)
CIE-LCHlch(40.57, 35.39, 162.25°)
OKLaboklab(47.6% -0.0922 0.0275)
OKLCHoklch(47.6% 0.096 163.4)
XYZxyz(7.0569, 11.6008, 8.8870)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D4D #6D1232
analogous
#126D1F #126D4D #12606D
triadic
#126D4D #4D126D #6D4D12
tetradic
#126D4D #1F126D #6D1232 #606D12
square
#126D4D #1F126D #6D1232 #606D12
split-complementary
#126D4D #6D1260 #6D1F12
monochromatic
#041A13 #093828 #126D4D #1BA272 #23D697

Accessibility & contrast

On white

6.32
#126D4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126D4D
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D4D#FFFFFF#000000##FFFFFF
##126D4D1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126d4d;
/* rgb */ color: rgb(18, 109, 77);
/* oklch */ color: oklch(47.6% 0.096 163.4);
Tailwind
colors: {
  custom: {
    50: '#62977f',
    500: '#126d4d',
    950: '#000000',
  },
}
SCSS
$custom: #126d4d;
$custom-light: #62977f;
$custom-dark: #000000;
JSON
{
  "hex": "#126d4d",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 77
  },
  "hsl": {
    "h": 158.901,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47597,
    "c": 0.09622,
    "h": 163.4
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#126D4D
secondary
#A4375D
accent
#3979EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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