#126E4D#126E4D

#126E4D is a mid, moderate teal. Relative luminance 0.118; OKLCH L 47.9% C 0.098 H 162.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#126E4D
RGBrgb(18, 110, 77)
HSLhsl(158, 72%, 25%)
HSVhsv(158, 84%, 43%)
CMYKcmyk(83.6%, 0%, 30%, 56.9%)
CIE-LABlab(40.92, -34.14, 11.27)
CIE-LCHlch(40.92, 35.95, 161.73°)
OKLaboklab(47.88% -0.0933 0.0287)
OKLCHoklch(47.88% 0.098 162.9)
XYZxyz(7.1641, 11.8154, 8.9228)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E4D #6E1233
analogous
#126E1F #126E4D #12616E
triadic
#126E4D #4D126E #6E4D12
tetradic
#126E4D #1F126E #6E1233 #616E12
square
#126E4D #1F126E #6E1233 #616E12
split-complementary
#126E4D #6E1261 #6E1F12
monochromatic
#041A12 #093928 #126E4D #1BA372 #23D797

Accessibility & contrast

On white

6.24
#126E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#126E4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E4D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E4D#FFFFFF#000000##FFFFFF
##126E4D1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C654B
Deuteranopia (green-blind)
#615D4F
Tritanopia (blue-blind)
#006E65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126e4d;
/* rgb */ color: rgb(18, 110, 77);
/* oklch */ color: oklch(47.9% 0.098 162.9);
Tailwind
colors: {
  custom: {
    50: '#62987f',
    500: '#126e4d',
    950: '#000000',
  },
}
SCSS
$custom: #126e4d;
$custom-light: #62987f;
$custom-dark: #000000;
JSON
{
  "hex": "#126e4d",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 77
  },
  "hsl": {
    "h": 158.478,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.0976,
    "h": 162.9
  },
  "luminance": 0.11816
}

Semantic roles & 50–950 ramp

primary
#126E4D
secondary
#A5375E
accent
#397AEF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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