#126140#126140

#126140 is a dark, moderate teal. Relative luminance 0.090; OKLCH L 43.8% C 0.092 H 160.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#126140
RGBrgb(18, 97, 64)
HSLhsl(155, 69%, 23%)
HSVhsv(155, 81%, 38%)
CMYKcmyk(81.4%, 0%, 34%, 62%)
CIE-LABlab(36.08, -31.67, 12.39)
CIE-LCHlch(36.08, 34.01, 158.63°)
OKLaboklab(43.8% -0.0861 0.0314)
OKLCHoklch(43.8% 0.092 160)
XYZxyz(5.4490, 9.0475, 6.3087)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126140 #611233
analogous
#126119 #126140 #125A61
triadic
#126140 #401261 #614012
tetradic
#126140 #191261 #611233 #5A6112
square
#126140 #191261 #611233 #5A6112
split-complementary
#126140 #61125A #611912
monochromatic
#051A11 #082D1E #126140 #1C9562 #25C884

Accessibility & contrast

On white

7.47
#126140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#126140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126140
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126140#FFFFFF#000000##FFFFFF
##1261401.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60593E
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#006158
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #126140;
/* rgb */ color: rgb(18, 97, 64);
/* oklch */ color: oklch(43.8% 0.092 160.0);
Tailwind
colors: {
  custom: {
    50: '#5e8f75',
    500: '#126140',
    950: '#000000',
  },
}
SCSS
$custom: #126140;
$custom-light: #5e8f75;
$custom-dark: #000000;
JSON
{
  "hex": "#126140",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 64
  },
  "hsl": {
    "h": 154.937,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43798,
    "c": 0.09161,
    "h": 160
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#126140
secondary
#99365F
accent
#3C85EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #126140

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

Preview Lab → · Contrast checker → · Palette generator →

#126140 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva