#126F4D#126F4D

#126F4D is a mid, moderate teal. Relative luminance 0.120; OKLCH L 48.2% C 0.099 H 162.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#126F4D
RGBrgb(18, 111, 77)
HSLhsl(158, 72%, 25%)
HSVhsv(158, 84%, 44%)
CMYKcmyk(83.8%, 0%, 30.6%, 56.5%)
CIE-LABlab(41.27, -34.57, 11.75)
CIE-LCHlch(41.27, 36.52, 161.23°)
OKLaboklab(48.17% -0.0944 0.0299)
OKLCHoklch(48.17% 0.099 162.4)
XYZxyz(7.2726, 12.0324, 8.9589)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F4D #6F1234
analogous
#126F1F #126F4D #12626F
triadic
#126F4D #4D126F #6F4D12
tetradic
#126F4D #1F126F #6F1234 #626F12
square
#126F4D #1F126F #6F1234 #626F12
split-complementary
#126F4D #6F1262 #6F1F12
monochromatic
#041A12 #093A28 #126F4D #1BA472 #23D896

Accessibility & contrast

On white

6.16
#126F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#126F4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F4D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F4D#FFFFFF#000000##FFFFFF
##126F4D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D664B
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#006F66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #126f4d;
/* rgb */ color: rgb(18, 111, 77);
/* oklch */ color: oklch(48.2% 0.099 162.4);
Tailwind
colors: {
  custom: {
    50: '#62997f',
    500: '#126f4d',
    950: '#000000',
  },
}
SCSS
$custom: #126f4d;
$custom-light: #62997f;
$custom-dark: #000000;
JSON
{
  "hex": "#126f4d",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 77
  },
  "hsl": {
    "h": 158.065,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48168,
    "c": 0.09897,
    "h": 162.4
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#126F4D
secondary
#A6375F
accent
#397BEF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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