#126E54#126E54

#126E54 is a mid, moderate teal. Relative luminance 0.119; OKLCH L 48.1% C 0.092 H 168.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#126E54
RGBrgb(18, 110, 84)
HSLhsl(163, 72%, 25%)
HSVhsv(163, 84%, 43%)
CMYKcmyk(83.6%, 0%, 23.6%, 56.9%)
CIE-LABlab(41.09, -32.33, 7.31)
CIE-LCHlch(41.09, 33.15, 167.25°)
OKLaboklab(48.08% -0.0896 0.0187)
OKLCHoklch(48.08% 0.092 168.2)
XYZxyz(7.4247, 11.9196, 10.2952)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E54 #6E122C
analogous
#126E26 #126E54 #125A6E
triadic
#126E54 #54126E #6E5412
tetradic
#126E54 #26126E #6E122C #5A6E12
square
#126E54 #26126E #6E122C #5A6E12
split-complementary
#126E54 #6E125A #6E2612
monochromatic
#041A14 #09392C #126E54 #1BA37C #23D7A4

Accessibility & contrast

On white

6.21
#126E54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#126E54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E54
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E54#FFFFFF#000000##FFFFFF
##126E541.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6653
Deuteranopia (green-blind)
#605E56
Tritanopia (blue-blind)
#006F67
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #126e54;
/* rgb */ color: rgb(18, 110, 84);
/* oklch */ color: oklch(48.1% 0.092 168.2);
Tailwind
colors: {
  custom: {
    50: '#629884',
    500: '#126e54',
    950: '#000000',
  },
}
SCSS
$custom: #126e54;
$custom-light: #629884;
$custom-dark: #000000;
JSON
{
  "hex": "#126e54",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 84
  },
  "hsl": {
    "h": 163.043,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.09153,
    "h": 168.2
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#126E54
secondary
#A53756
accent
#396CEF
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126E54

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

Preview Lab → · Contrast checker → · Palette generator →

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