#126D4B#126D4B

#126D4B is a mid, moderate teal. Relative luminance 0.116; OKLCH L 47.5% C 0.098 H 162.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#126D4B
RGBrgb(18, 109, 75)
HSLhsl(158, 72%, 25%)
HSVhsv(158, 83%, 43%)
CMYKcmyk(83.5%, 0%, 31.2%, 57.3%)
CIE-LABlab(40.53, -34.20, 11.92)
CIE-LCHlch(40.53, 36.22, 160.79°)
OKLaboklab(47.55% -0.0933 0.0303)
OKLCHoklch(47.55% 0.098 162)
XYZxyz(6.9873, 11.5730, 8.5208)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D4B #6D1234
analogous
#126D1D #126D4B #12626D
triadic
#126D4B #4B126D #6D4B12
tetradic
#126D4B #1D126D #6D1234 #626D12
square
#126D4B #1D126D #6D1234 #626D12
split-complementary
#126D4B #6D1262 #6D1D12
monochromatic
#041A12 #093827 #126D4B #1BA26F #23D693

Accessibility & contrast

On white

6.34
#126D4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#126D4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D4B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D4B#FFFFFF#000000##FFFFFF
##126D4B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126d4b;
/* rgb */ color: rgb(18, 109, 75);
/* oklch */ color: oklch(47.5% 0.098 162.0);
Tailwind
colors: {
  custom: {
    50: '#62987d',
    500: '#126d4b',
    950: '#000000',
  },
}
SCSS
$custom: #126d4b;
$custom-light: #62987d;
$custom-dark: #000000;
JSON
{
  "hex": "#126d4b",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 75
  },
  "hsl": {
    "h": 157.582,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47545,
    "c": 0.09806,
    "h": 162
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#126D4B
secondary
#A43760
accent
#397DEE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E09
muted
#7A7E7B

Preview Lab

Preview with #126D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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