#126C4D#126C4D

#126C4D is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.3% C 0.095 H 163.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#126C4D
RGBrgb(18, 108, 77)
HSLhsl(159, 71%, 25%)
HSVhsv(159, 83%, 42%)
CMYKcmyk(83.3%, 0%, 28.7%, 57.6%)
CIE-LABlab(40.23, -33.27, 10.30)
CIE-LCHlch(40.23, 34.83, 162.79°)
OKLaboklab(47.31% -0.0911 0.0263)
OKLCHoklch(47.31% 0.095 163.9)
XYZxyz(6.9508, 11.3887, 8.8516)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C4D #6C1231
analogous
#126C20 #126C4D #125E6C
triadic
#126C4D #4D126C #6C4D12
tetradic
#126C4D #20126C #6C1231 #5E6C12
square
#126C4D #20126C #6C1231 #5E6C12
split-complementary
#126C4D #6C125E #6C2012
monochromatic
#041A13 #093828 #126C4D #1BA072 #23D598

Accessibility & contrast

On white

6.41
#126C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#126C4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C4D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C4D#FFFFFF#000000##FFFFFF
##126C4D1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A634B
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#006C64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126c4d;
/* rgb */ color: rgb(18, 108, 77);
/* oklch */ color: oklch(47.3% 0.095 163.9);
Tailwind
colors: {
  custom: {
    50: '#61977e',
    500: '#126c4d',
    950: '#000000',
  },
}
SCSS
$custom: #126c4d;
$custom-light: #61977e;
$custom-dark: #000000;
JSON
{
  "hex": "#126c4d",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 77
  },
  "hsl": {
    "h": 159.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.09485,
    "h": 163.9
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#126C4D
secondary
#A3365C
accent
#3A78EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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