#126A45#126A45

#126A45 is a mid, moderate teal. Relative luminance 0.109; OKLCH L 46.5% C 0.100 H 159.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#126A45
RGBrgb(18, 106, 69)
HSLhsl(155, 71%, 24%)
HSVhsv(155, 83%, 42%)
CMYKcmyk(83%, 0%, 34.9%, 58.4%)
CIE-LABlab(39.35, -34.36, 13.87)
CIE-LCHlch(39.35, 37.06, 158.01°)
OKLaboklab(46.53% -0.0932 0.0351)
OKLCHoklch(46.53% 0.1 159.4)
XYZxyz(6.4770, 10.8655, 7.3850)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A45 #6A1237
analogous
#126A19 #126A45 #12636A
triadic
#126A45 #45126A #6A4512
tetradic
#126A45 #19126A #6A1237 #636A12
square
#126A45 #19126A #6A1237 #636A12
split-complementary
#126A45 #6A1263 #6A1912
monochromatic
#041A11 #093623 #126A45 #1B9E67 #24D389

Accessibility & contrast

On white

6.62
#126A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#126A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A45
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A45#FFFFFF#000000##FFFFFF
##126A451.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696143
Deuteranopia (green-blind)
#5E5A47
Tritanopia (blue-blind)
#006960
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126a45;
/* rgb */ color: rgb(18, 106, 69);
/* oklch */ color: oklch(46.5% 0.100 159.4);
Tailwind
colors: {
  custom: {
    50: '#619579',
    500: '#126a45',
    950: '#000000',
  },
}
SCSS
$custom: #126a45;
$custom-light: #619579;
$custom-dark: #000000;
JSON
{
  "hex": "#126a45",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 69
  },
  "hsl": {
    "h": 154.773,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46533,
    "c": 0.09958,
    "h": 159.4
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#126A45
secondary
#A23663
accent
#3A86EE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #126A45

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

Preview Lab → · Contrast checker → · Palette generator →

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