#126040#126040

#126040 is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.5% C 0.090 H 160.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#126040
RGBrgb(18, 96, 64)
HSLhsl(155, 68%, 22%)
HSVhsv(155, 81%, 38%)
CMYKcmyk(81.3%, 0%, 33.3%, 62.4%)
CIE-LABlab(35.72, -31.23, 11.91)
CIE-LCHlch(35.72, 33.42, 159.13°)
OKLaboklab(43.51% -0.085 0.0302)
OKLCHoklch(43.51% 0.09 160.4)
XYZxyz(5.3572, 8.8639, 6.2780)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126040 #601232
analogous
#126019 #126040 #125960
triadic
#126040 #401260 #604012
tetradic
#126040 #191260 #601232 #596012
square
#126040 #191260 #601232 #596012
split-complementary
#126040 #601259 #601912
monochromatic
#051A11 #082C1E #126040 #1C9462 #25C785

Accessibility & contrast

On white

7.57
#126040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#126040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126040
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126040#FFFFFF#000000##FFFFFF
##1260401.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F583E
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#006058
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126040;
/* rgb */ color: rgb(18, 96, 64);
/* oklch */ color: oklch(43.5% 0.090 160.4);
Tailwind
colors: {
  custom: {
    50: '#5e8e75',
    500: '#126040',
    950: '#000000',
  },
}
SCSS
$custom: #126040;
$custom-light: #5e8e75;
$custom-dark: #000000;
JSON
{
  "hex": "#126040",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 64
  },
  "hsl": {
    "h": 155.385,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43506,
    "c": 0.09016,
    "h": 160.4
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#126040
secondary
#98365E
accent
#3D84EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #126040

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

Preview Lab → · Contrast checker → · Palette generator →

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