#126A4B#126A4B

#126A4B is a mid, moderate teal. Relative luminance 0.109; OKLCH L 46.7% C 0.094 H 163.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#126A4B
RGBrgb(18, 106, 75)
HSLhsl(159, 71%, 24%)
HSVhsv(159, 83%, 42%)
CMYKcmyk(83%, 0%, 29.2%, 58.4%)
CIE-LABlab(39.49, -32.90, 10.47)
CIE-LCHlch(39.49, 34.52, 162.34°)
OKLaboklab(46.69% -0.09 0.0267)
OKLCHoklch(46.69% 0.094 163.5)
XYZxyz(6.6727, 10.9438, 8.4159)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A4B #6A1231
analogous
#126A1F #126A4B #125D6A
triadic
#126A4B #4B126A #6A4B12
tetradic
#126A4B #1F126A #6A1231 #5D6A12
square
#126A4B #1F126A #6A1231 #5D6A12
split-complementary
#126A4B #6A125D #6A1F12
monochromatic
#041A13 #093626 #126A4B #1B9E70 #24D395

Accessibility & contrast

On white

6.59
#126A4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#126A4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A4B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A4B#FFFFFF#000000##FFFFFF
##126A4B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686249
Deuteranopia (green-blind)
#5D5A4D
Tritanopia (blue-blind)
#006A62
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126a4b;
/* rgb */ color: rgb(18, 106, 75);
/* oklch */ color: oklch(46.7% 0.094 163.5);
Tailwind
colors: {
  custom: {
    50: '#61957d',
    500: '#126a4b',
    950: '#000000',
  },
}
SCSS
$custom: #126a4b;
$custom-light: #61957d;
$custom-dark: #000000;
JSON
{
  "hex": "#126a4b",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 75
  },
  "hsl": {
    "h": 158.864,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.09392,
    "h": 163.5
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#126A4B
secondary
#A2365C
accent
#3A79EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #126A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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