#126F4C#126F4C

#126F4C is a mid, moderate teal. Relative luminance 0.120; OKLCH L 48.1% C 0.100 H 161.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#126F4C
RGBrgb(18, 111, 76)
HSLhsl(157, 72%, 25%)
HSVhsv(157, 84%, 44%)
CMYKcmyk(83.8%, 0%, 31.5%, 56.5%)
CIE-LABlab(41.25, -34.82, 12.31)
CIE-LCHlch(41.25, 36.93, 160.53°)
OKLaboklab(48.14% -0.0949 0.0313)
OKLCHoklch(48.14% 0.1 161.8)
XYZxyz(7.2376, 12.0184, 8.7744)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F4C #6F1235
analogous
#126F1D #126F4C #12646F
triadic
#126F4C #4C126F #6F4C12
tetradic
#126F4C #1D126F #6F1235 #646F12
square
#126F4C #1D126F #6F1235 #646F12
split-complementary
#126F4C #6F1264 #6F1D12
monochromatic
#041A12 #093A28 #126F4C #1BA470 #23D894

Accessibility & contrast

On white

6.17
#126F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#126F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F4C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F4C#FFFFFF#000000##FFFFFF
##126F4C1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126f4c;
/* rgb */ color: rgb(18, 111, 76);
/* oklch */ color: oklch(48.1% 0.100 161.8);
Tailwind
colors: {
  custom: {
    50: '#62997e',
    500: '#126f4c',
    950: '#000000',
  },
}
SCSS
$custom: #126f4c;
$custom-light: #62997e;
$custom-dark: #000000;
JSON
{
  "hex": "#126f4c",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 76
  },
  "hsl": {
    "h": 157.419,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48142,
    "c": 0.0999,
    "h": 161.8
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#126F4C
secondary
#A63761
accent
#397DEF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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