#126E51#126E51

#126E51 is a mid, moderate teal. Relative luminance 0.119; OKLCH L 48.0% C 0.094 H 165.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#126E51
RGBrgb(18, 110, 81)
HSLhsl(161, 72%, 25%)
HSVhsv(161, 84%, 43%)
CMYKcmyk(83.6%, 0%, 26.4%, 56.9%)
CIE-LABlab(41.01, -33.12, 9.01)
CIE-LCHlch(41.01, 34.33, 164.78°)
OKLaboklab(47.99% -0.0912 0.023)
OKLCHoklch(47.99% 0.094 165.8)
XYZxyz(7.3097, 11.8736, 9.6896)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E51 #6E122F
analogous
#126E23 #126E51 #125D6E
triadic
#126E51 #51126E #6E5112
tetradic
#126E51 #23126E #6E122F #5D6E12
square
#126E51 #23126E #6E122F #5D6E12
split-complementary
#126E51 #6E125D #6E2312
monochromatic
#041A13 #09392A #126E51 #1BA378 #23D79E

Accessibility & contrast

On white

6.22
#126E51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126E51
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E51#FFFFFF#000000##FFFFFF
##126E511.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B654F
Deuteranopia (green-blind)
#605D53
Tritanopia (blue-blind)
#006E66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #126e51;
/* rgb */ color: rgb(18, 110, 81);
/* oklch */ color: oklch(48.0% 0.094 165.8);
Tailwind
colors: {
  custom: {
    50: '#629881',
    500: '#126e51',
    950: '#000000',
  },
}
SCSS
$custom: #126e51;
$custom-light: #629881;
$custom-dark: #000000;
JSON
{
  "hex": "#126e51",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 81
  },
  "hsl": {
    "h": 161.087,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4799,
    "c": 0.09404,
    "h": 165.8
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#126E51
secondary
#A53759
accent
#3972EF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126E51

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

Preview Lab → · Contrast checker → · Palette generator →

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