#126A4F#126A4F

#126A4F is a mid, moderate teal. Relative luminance 0.110; OKLCH L 46.8% C 0.090 H 166.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#126A4F
RGBrgb(18, 106, 79)
HSLhsl(162, 71%, 24%)
HSVhsv(162, 83%, 42%)
CMYKcmyk(83%, 0%, 25.5%, 58.4%)
CIE-LABlab(39.58, -31.86, 8.20)
CIE-LCHlch(39.58, 32.90, 165.58°)
OKLaboklab(46.8% -0.0879 0.0209)
OKLCHoklch(46.8% 0.09 166.6)
XYZxyz(6.8140, 11.0003, 9.1598)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A4F #6A122D
analogous
#126A23 #126A4F #12596A
triadic
#126A4F #4F126A #6A4F12
tetradic
#126A4F #23126A #6A122D #596A12
square
#126A4F #23126A #6A122D #596A12
split-complementary
#126A4F #6A1259 #6A2312
monochromatic
#041A13 #093628 #126A4F #1B9E76 #24D39D

Accessibility & contrast

On white

6.56
#126A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#126A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A4F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A4F#FFFFFF#000000##FFFFFF
##126A4F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67624E
Deuteranopia (green-blind)
#5D5A51
Tritanopia (blue-blind)
#006A62
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126a4f;
/* rgb */ color: rgb(18, 106, 79);
/* oklch */ color: oklch(46.8% 0.090 166.6);
Tailwind
colors: {
  custom: {
    50: '#619580',
    500: '#126a4f',
    950: '#000000',
  },
}
SCSS
$custom: #126a4f;
$custom-light: #619580;
$custom-dark: #000000;
JSON
{
  "hex": "#126a4f",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 79
  },
  "hsl": {
    "h": 161.591,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.09038,
    "h": 166.6
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#126A4F
secondary
#A23657
accent
#3A71EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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