#126F54#126F54

#126F54 is a mid, moderate teal. Relative luminance 0.121; OKLCH L 48.4% C 0.093 H 167.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#126F54
RGBrgb(18, 111, 84)
HSLhsl(163, 72%, 25%)
HSVhsv(163, 84%, 44%)
CMYKcmyk(83.8%, 0%, 24.3%, 56.5%)
CIE-LABlab(41.43, -32.78, 7.80)
CIE-LCHlch(41.43, 33.69, 166.61°)
OKLaboklab(48.36% -0.0907 0.0199)
OKLCHoklch(48.36% 0.093 167.6)
XYZxyz(7.5332, 12.1366, 10.3314)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F54 #6F122D
analogous
#126F26 #126F54 #125B6F
triadic
#126F54 #54126F #6F5412
tetradic
#126F54 #26126F #6F122D #5B6F12
square
#126F54 #26126F #6F122D #5B6F12
split-complementary
#126F54 #6F125B #6F2612
monochromatic
#041A14 #093A2C #126F54 #1BA47C #23D8A4

Accessibility & contrast

On white

6.13
#126F54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#126F54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F54
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F54#FFFFFF#000000##FFFFFF
##126F541.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6753
Deuteranopia (green-blind)
#615E56
Tritanopia (blue-blind)
#007067
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #126f54;
/* rgb */ color: rgb(18, 111, 84);
/* oklch */ color: oklch(48.4% 0.093 167.6);
Tailwind
colors: {
  custom: {
    50: '#629984',
    500: '#126f54',
    950: '#000000',
  },
}
SCSS
$custom: #126f54;
$custom-light: #629984;
$custom-dark: #000000;
JSON
{
  "hex": "#126f54",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 84
  },
  "hsl": {
    "h": 162.581,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.09283,
    "h": 167.6
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#126F54
secondary
#A63757
accent
#396EEF
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126F54

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

Preview Lab → · Contrast checker → · Palette generator →

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