#126E47#126E47

#126E47 is a mid, moderate teal. Relative luminance 0.117; OKLCH L 47.7% C 0.103 H 159.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#126E47
RGBrgb(18, 110, 71)
HSLhsl(155, 72%, 25%)
HSVhsv(155, 84%, 43%)
CMYKcmyk(83.6%, 0%, 35.5%, 56.9%)
CIE-LABlab(40.79, -35.59, 14.65)
CIE-LCHlch(40.79, 38.48, 157.63°)
OKLaboklab(47.73% -0.0964 0.037)
OKLCHoklch(47.73% 0.103 159)
XYZxyz(6.9620, 11.7345, 7.8581)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E47 #6E1239
analogous
#126E19 #126E47 #12676E
triadic
#126E47 #47126E #6E4712
tetradic
#126E47 #19126E #6E1239 #676E12
square
#126E47 #19126E #6E1239 #676E12
split-complementary
#126E47 #6E1267 #6E1912
monochromatic
#041A11 #093925 #126E47 #1BA369 #23D78B

Accessibility & contrast

On white

6.27
#126E47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#126E47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E47
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E47#FFFFFF#000000##FFFFFF
##126E471.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6545
Deuteranopia (green-blind)
#625D4A
Tritanopia (blue-blind)
#006D64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126e47;
/* rgb */ color: rgb(18, 110, 71);
/* oklch */ color: oklch(47.7% 0.103 159.0);
Tailwind
colors: {
  custom: {
    50: '#62987a',
    500: '#126e47',
    950: '#000000',
  },
}
SCSS
$custom: #126e47;
$custom-light: #62987a;
$custom-dark: #000000;
JSON
{
  "hex": "#126e47",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 71
  },
  "hsl": {
    "h": 154.565,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.10328,
    "h": 159
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#126E47
secondary
#A53765
accent
#3986EF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E09
muted
#7A7E7B

Preview Lab

Preview with #126E47

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

Preview Lab → · Contrast checker → · Palette generator →

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