#126242#126242

#126242 is a dark, moderate teal. Relative luminance 0.093; OKLCH L 44.1% C 0.091 H 160.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#126242
RGBrgb(18, 98, 66)
HSLhsl(156, 69%, 23%)
HSVhsv(156, 82%, 38%)
CMYKcmyk(81.6%, 0%, 32.7%, 61.6%)
CIE-LABlab(36.47, -31.62, 11.73)
CIE-LCHlch(36.47, 33.73, 159.65°)
OKLaboklab(44.14% -0.0861 0.0298)
OKLCHoklch(44.14% 0.091 160.9)
XYZxyz(5.5999, 9.2566, 6.6448)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126242 #621232
analogous
#12621A #126242 #125A62
triadic
#126242 #421262 #624212
tetradic
#126242 #1A1262 #621232 #5A6212
square
#126242 #1A1262 #621232 #5A6212
split-complementary
#126242 #62125A #621A12
monochromatic
#051A11 #092E1F #126242 #1B9665 #25C988

Accessibility & contrast

On white

7.36
#126242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#126242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126242
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126242#FFFFFF#000000##FFFFFF
##1262421.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A40
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#006259
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126242;
/* rgb */ color: rgb(18, 98, 66);
/* oklch */ color: oklch(44.1% 0.091 160.9);
Tailwind
colors: {
  custom: {
    50: '#5f8f76',
    500: '#126242',
    950: '#000000',
  },
}
SCSS
$custom: #126242;
$custom-light: #5f8f76;
$custom-dark: #000000;
JSON
{
  "hex": "#126242",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 66
  },
  "hsl": {
    "h": 156,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.0911,
    "h": 160.9
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#126242
secondary
#9A365E
accent
#3C82EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #126242

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

Preview Lab → · Contrast checker → · Palette generator →

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