#126C4B#126C4B

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

Color values

HEX#126C4B
RGBrgb(18, 108, 75)
HSLhsl(158, 71%, 25%)
HSVhsv(158, 83%, 42%)
CMYKcmyk(83.3%, 0%, 30.6%, 57.6%)
CIE-LABlab(40.18, -33.77, 11.44)
CIE-LCHlch(40.18, 35.66, 161.29°)
OKLaboklab(47.26% -0.0922 0.0291)
OKLCHoklch(47.26% 0.097 162.5)
XYZxyz(6.8813, 11.3609, 8.4854)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C4B #6C1233
analogous
#126C1E #126C4B #12606C
triadic
#126C4B #4B126C #6C4B12
tetradic
#126C4B #1E126C #6C1233 #606C12
square
#126C4B #1E126C #6C1233 #606C12
split-complementary
#126C4B #6C1260 #6C1E12
monochromatic
#041A12 #093827 #126C4B #1BA06F #23D594

Accessibility & contrast

On white

6.42
#126C4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#126C4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C4B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C4B#FFFFFF#000000##FFFFFF
##126C4B1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6349
Deuteranopia (green-blind)
#5F5C4D
Tritanopia (blue-blind)
#006C63
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126c4b;
/* rgb */ color: rgb(18, 108, 75);
/* oklch */ color: oklch(47.3% 0.097 162.5);
Tailwind
colors: {
  custom: {
    50: '#61977d',
    500: '#126c4b',
    950: '#000000',
  },
}
SCSS
$custom: #126c4b;
$custom-light: #61977d;
$custom-dark: #000000;
JSON
{
  "hex": "#126c4b",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 75
  },
  "hsl": {
    "h": 158,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47259,
    "c": 0.09668,
    "h": 162.5
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#126C4B
secondary
#A3365E
accent
#3A7CEE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #126C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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