#126C47#126C47

#126C47 is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.2% C 0.100 H 159.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#126C47
RGBrgb(18, 108, 71)
HSLhsl(155, 71%, 25%)
HSVhsv(155, 83%, 42%)
CMYKcmyk(83.3%, 0%, 34.3%, 57.6%)
CIE-LABlab(40.09, -34.74, 13.70)
CIE-LCHlch(40.09, 37.34, 158.48°)
OKLaboklab(47.16% -0.0943 0.0346)
OKLCHoklch(47.16% 0.1 159.8)
XYZxyz(6.7486, 11.3078, 7.7870)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C47 #6C1237
analogous
#126C1A #126C47 #12646C
triadic
#126C47 #47126C #6C4712
tetradic
#126C47 #1A126C #6C1237 #646C12
square
#126C47 #1A126C #6C1237 #646C12
split-complementary
#126C47 #6C1264 #6C1A12
monochromatic
#041A11 #093825 #126C47 #1BA069 #23D58C

Accessibility & contrast

On white

6.44
#126C47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#126C47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C47
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C47#FFFFFF#000000##FFFFFF
##126C471.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6345
Deuteranopia (green-blind)
#605B49
Tritanopia (blue-blind)
#006B62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126c47;
/* rgb */ color: rgb(18, 108, 71);
/* oklch */ color: oklch(47.2% 0.100 159.8);
Tailwind
colors: {
  custom: {
    50: '#61977a',
    500: '#126c47',
    950: '#000000',
  },
}
SCSS
$custom: #126c47;
$custom-light: #61977a;
$custom-dark: #000000;
JSON
{
  "hex": "#126c47",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 71
  },
  "hsl": {
    "h": 155.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47158,
    "c": 0.10047,
    "h": 159.8
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#126C47
secondary
#A33663
accent
#3A84EE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #126C47

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

Preview Lab → · Contrast checker → · Palette generator →

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