#126C4E#126C4E

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

Color values

HEX#126C4E
RGBrgb(18, 108, 78)
HSLhsl(160, 71%, 25%)
HSVhsv(160, 83%, 42%)
CMYKcmyk(83.3%, 0%, 27.8%, 57.6%)
CIE-LABlab(40.25, -33.01, 9.74)
CIE-LCHlch(40.25, 34.42, 163.57°)
OKLaboklab(47.34% -0.0906 0.0248)
OKLCHoklch(47.34% 0.094 164.7)
XYZxyz(6.9864, 11.4029, 9.0390)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C4E #6C1230
analogous
#126C21 #126C4E #125D6C
triadic
#126C4E #4E126C #6C4E12
tetradic
#126C4E #21126C #6C1230 #5D6C12
square
#126C4E #21126C #6C1230 #5D6C12
split-complementary
#126C4E #6C125D #6C2112
monochromatic
#041A13 #093828 #126C4E #1BA074 #23D59A

Accessibility & contrast

On white

6.40
#126C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126C4E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C4E#FFFFFF#000000##FFFFFF
##126C4E1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126c4e;
/* rgb */ color: rgb(18, 108, 78);
/* oklch */ color: oklch(47.3% 0.094 164.7);
Tailwind
colors: {
  custom: {
    50: '#61977f',
    500: '#126c4e',
    950: '#000000',
  },
}
SCSS
$custom: #126c4e;
$custom-light: #61977f;
$custom-dark: #000000;
JSON
{
  "hex": "#126c4e",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 78
  },
  "hsl": {
    "h": 160,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47339,
    "c": 0.09396,
    "h": 164.7
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#126C4E
secondary
#A3365B
accent
#3A76EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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