#126F4F#126F4F

#126F4F is a mid, moderate teal. Relative luminance 0.121; OKLCH L 48.2% C 0.097 H 163.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#126F4F
RGBrgb(18, 111, 79)
HSLhsl(159, 72%, 25%)
HSVhsv(159, 84%, 44%)
CMYKcmyk(83.8%, 0%, 28.8%, 56.5%)
CIE-LABlab(41.31, -34.07, 10.62)
CIE-LCHlch(41.31, 35.69, 162.69°)
OKLaboklab(48.22% -0.0933 0.0271)
OKLCHoklch(48.22% 0.097 163.8)
XYZxyz(7.3443, 12.0611, 9.3366)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F4F #6F1232
analogous
#126F21 #126F4F #12606F
triadic
#126F4F #4F126F #6F4F12
tetradic
#126F4F #21126F #6F1232 #606F12
square
#126F4F #21126F #6F1232 #606F12
split-complementary
#126F4F #6F1260 #6F2112
monochromatic
#041A13 #093A2A #126F4F #1BA474 #23D89A

Accessibility & contrast

On white

6.15
#126F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126F4F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F4F#FFFFFF#000000##FFFFFF
##126F4F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126f4f;
/* rgb */ color: rgb(18, 111, 79);
/* oklch */ color: oklch(48.2% 0.097 163.8);
Tailwind
colors: {
  custom: {
    50: '#629980',
    500: '#126f4f',
    950: '#000000',
  },
}
SCSS
$custom: #126f4f;
$custom-light: #629980;
$custom-dark: #000000;
JSON
{
  "hex": "#126f4f",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 79
  },
  "hsl": {
    "h": 159.355,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4822,
    "c": 0.09715,
    "h": 163.8
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#126F4F
secondary
#A6375D
accent
#3978EF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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