#126F51#126F51

#126F51 is a mid, moderate teal. Relative luminance 0.121; OKLCH L 48.3% C 0.095 H 165.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#126F51
RGBrgb(18, 111, 81)
HSLhsl(161, 72%, 25%)
HSVhsv(161, 84%, 44%)
CMYKcmyk(83.8%, 0%, 27%, 56.5%)
CIE-LABlab(41.36, -33.56, 9.49)
CIE-LCHlch(41.36, 34.88, 164.21°)
OKLaboklab(48.27% -0.0922 0.0242)
OKLCHoklch(48.27% 0.095 165.3)
XYZxyz(7.4182, 12.0906, 9.7257)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F51 #6F1230
analogous
#126F22 #126F51 #125E6F
triadic
#126F51 #51126F #6F5112
tetradic
#126F51 #22126F #6F1230 #5E6F12
square
#126F51 #22126F #6F1230 #5E6F12
split-complementary
#126F51 #6F125E #6F2212
monochromatic
#041A13 #093A2B #126F51 #1BA477 #23D89E

Accessibility & contrast

On white

6.14
#126F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#126F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F51
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F51#FFFFFF#000000##FFFFFF
##126F511.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C664F
Deuteranopia (green-blind)
#615E53
Tritanopia (blue-blind)
#006F67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #126f51;
/* rgb */ color: rgb(18, 111, 81);
/* oklch */ color: oklch(48.3% 0.095 165.3);
Tailwind
colors: {
  custom: {
    50: '#629982',
    500: '#126f51',
    950: '#000000',
  },
}
SCSS
$custom: #126f51;
$custom-light: #629982;
$custom-dark: #000000;
JSON
{
  "hex": "#126f51",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 81
  },
  "hsl": {
    "h": 160.645,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48274,
    "c": 0.09538,
    "h": 165.3
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#126F51
secondary
#A6375B
accent
#3974EF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126F51

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

Preview Lab → · Contrast checker → · Palette generator →

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