#126A40#126A40

#126A40 is a mid, moderate teal. Relative luminance 0.108; OKLCH L 46.4% C 0.105 H 156.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#126A40
RGBrgb(18, 106, 64)
HSLhsl(151, 71%, 24%)
HSVhsv(151, 83%, 42%)
CMYKcmyk(83%, 0%, 39.6%, 58.4%)
CIE-LABlab(39.25, -35.50, 16.69)
CIE-LCHlch(39.25, 39.23, 154.82°)
OKLaboklab(46.42% -0.0958 0.0418)
OKLCHoklch(46.42% 0.105 156.4)
XYZxyz(6.3283, 10.8061, 6.6017)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A40 #6A123C
analogous
#126A14 #126A40 #12686A
triadic
#126A40 #40126A #6A4012
tetradic
#126A40 #14126A #6A123C #686A12
square
#126A40 #14126A #6A123C #686A12
split-complementary
#126A40 #6A1268 #6A1412
monochromatic
#041A10 #093620 #126A40 #1B9E60 #24D37F

Accessibility & contrast

On white

6.64
#126A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#126A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A40
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A40#FFFFFF#000000##FFFFFF
##126A401.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613D
Deuteranopia (green-blind)
#5F5943
Tritanopia (blue-blind)
#00695F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a40;
/* rgb */ color: rgb(18, 106, 64);
/* oklch */ color: oklch(46.4% 0.105 156.4);
Tailwind
colors: {
  custom: {
    50: '#619575',
    500: '#126a40',
    950: '#000000',
  },
}
SCSS
$custom: #126a40;
$custom-light: #619575;
$custom-dark: #000000;
JSON
{
  "hex": "#126a40",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 64
  },
  "hsl": {
    "h": 151.364,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46417,
    "c": 0.10454,
    "h": 156.4
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#126A40
secondary
#A23669
accent
#3A90EE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #126A40

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

Preview Lab → · Contrast checker → · Palette generator →

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