#126A54#126A54

#126A54 is a mid, moderate teal. Relative luminance 0.111; OKLCH L 46.9% C 0.086 H 170.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#126A54
RGBrgb(18, 106, 84)
HSLhsl(165, 71%, 24%)
HSVhsv(165, 83%, 42%)
CMYKcmyk(83%, 0%, 20.8%, 58.4%)
CIE-LABlab(39.71, -30.51, 5.35)
CIE-LCHlch(39.71, 30.97, 170.05°)
OKLaboklab(46.94% -0.0853 0.0136)
OKLCHoklch(46.94% 0.086 170.9)
XYZxyz(7.0029, 11.0759, 10.1546)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A54 #6A1228
analogous
#126A28 #126A54 #12546A
triadic
#126A54 #54126A #6A5412
tetradic
#126A54 #28126A #6A1228 #546A12
square
#126A54 #28126A #6A1228 #546A12
split-complementary
#126A54 #6A1254 #6A2812
monochromatic
#041A15 #09362B #126A54 #1B9E7D #24D3A7

Accessibility & contrast

On white

6.53
#126A54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#126A54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A54
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A54#FFFFFF#000000##FFFFFF
##126A541.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676253
Deuteranopia (green-blind)
#5C5A56
Tritanopia (blue-blind)
#006B64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126a54;
/* rgb */ color: rgb(18, 106, 84);
/* oklch */ color: oklch(46.9% 0.086 170.9);
Tailwind
colors: {
  custom: {
    50: '#619584',
    500: '#126a54',
    950: '#000000',
  },
}
SCSS
$custom: #126a54;
$custom-light: #619584;
$custom-dark: #000000;
JSON
{
  "hex": "#126a54",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 84
  },
  "hsl": {
    "h": 165,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.08635,
    "h": 170.9
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#126A54
secondary
#A23651
accent
#3A67EE
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126A54

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

Preview Lab → · Contrast checker → · Palette generator →

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