#126F5F#126F5F

#126F5F is a mid, moderate teal. Relative luminance 0.123; OKLCH L 48.7% C 0.085 H 177.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#126F5F
RGBrgb(18, 111, 95)
HSLhsl(170, 72%, 25%)
HSVhsv(170, 84%, 44%)
CMYKcmyk(83.8%, 0%, 14.4%, 56.5%)
CIE-LABlab(41.72, -29.70, 1.60)
CIE-LCHlch(41.72, 29.75, 176.92°)
OKLaboklab(48.69% -0.0849 0.0038)
OKLCHoklch(48.69% 0.085 177.5)
XYZxyz(7.9984, 12.3227, 12.7812)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F5F #6F1222
analogous
#126F30 #126F5F #12516F
triadic
#126F5F #5F126F #6F5F12
tetradic
#126F5F #30126F #6F1222 #516F12
square
#126F5F #30126F #6F1222 #516F12
split-complementary
#126F5F #6F1251 #6F3012
monochromatic
#041A17 #093A32 #126F5F #1BA48C #23D8B9

Accessibility & contrast

On white

6.06
#126F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#126F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F5F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F5F#FFFFFF#000000##FFFFFF
##126F5F1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A685E
Deuteranopia (green-blind)
#5E5F60
Tritanopia (blue-blind)
#00716A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #126f5f;
/* rgb */ color: rgb(18, 111, 95);
/* oklch */ color: oklch(48.7% 0.085 177.5);
Tailwind
colors: {
  custom: {
    50: '#63998c',
    500: '#126f5f',
    950: '#000000',
  },
}
SCSS
$custom: #126f5f;
$custom-light: #63998c;
$custom-dark: #000000;
JSON
{
  "hex": "#126f5f",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 95
  },
  "hsl": {
    "h": 169.677,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.085,
    "h": 177.5
  },
  "luminance": 0.12324
}

Semantic roles & 50–950 ramp

primary
#126F5F
secondary
#A6374A
accent
#3958EF
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060E0C
muted
#7A7E7D

Preview Lab

Preview with #126F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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