#126246#126246

#126246 is a dark, moderate teal. Relative luminance 0.093; OKLCH L 44.2% C 0.087 H 164.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#126246
RGBrgb(18, 98, 70)
HSLhsl(159, 69%, 23%)
HSVhsv(159, 82%, 38%)
CMYKcmyk(81.6%, 0%, 28.6%, 61.6%)
CIE-LABlab(36.57, -30.61, 9.43)
CIE-LCHlch(36.57, 32.03, 162.88°)
OKLaboklab(44.25% -0.084 0.024)
OKLCHoklch(44.25% 0.087 164)
XYZxyz(5.7220, 9.3055, 7.2877)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126246 #62122E
analogous
#12621E #126246 #125662
triadic
#126246 #461262 #624612
tetradic
#126246 #1E1262 #62122E #566212
square
#126246 #1E1262 #62122E #566212
split-complementary
#126246 #621256 #621E12
monochromatic
#051A12 #092E21 #126246 #1B966B #25C990

Accessibility & contrast

On white

7.34
#126246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#126246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126246
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126246#FFFFFF#000000##FFFFFF
##1262461.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A44
Deuteranopia (green-blind)
#565348
Tritanopia (blue-blind)
#00625A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126246;
/* rgb */ color: rgb(18, 98, 70);
/* oklch */ color: oklch(44.2% 0.087 164.0);
Tailwind
colors: {
  custom: {
    50: '#5f8f79',
    500: '#126246',
    950: '#000000',
  },
}
SCSS
$custom: #126246;
$custom-light: #5f8f79;
$custom-dark: #000000;
JSON
{
  "hex": "#126246",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 70
  },
  "hsl": {
    "h": 159,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44246,
    "c": 0.08733,
    "h": 164
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#126246
secondary
#9A3659
accent
#3C7AEC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #126246

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

Preview Lab → · Contrast checker → · Palette generator →

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