#126642#126642

#126642 is a mid, moderate teal. Relative luminance 0.100; OKLCH L 45.3% C 0.097 H 159.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#126642
RGBrgb(18, 102, 66)
HSLhsl(154, 70%, 24%)
HSVhsv(154, 82%, 40%)
CMYKcmyk(82.4%, 0%, 35.3%, 60%)
CIE-LABlab(37.89, -33.36, 13.66)
CIE-LCHlch(37.89, 36.05, 157.73°)
OKLaboklab(45.3% -0.0905 0.0345)
OKLCHoklch(45.3% 0.097 159.1)
XYZxyz(5.9836, 10.0240, 6.7727)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126642 #661236
analogous
#126618 #126642 #126066
triadic
#126642 #421266 #664212
tetradic
#126642 #181266 #661236 #606612
square
#126642 #181266 #661236 #606612
split-complementary
#126642 #661260 #661812
monochromatic
#051A11 #093220 #126642 #1B9A64 #24CE85

Accessibility & contrast

On white

6.99
#126642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#126642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126642
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126642#FFFFFF#000000##FFFFFF
##1266421.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D40
Deuteranopia (green-blind)
#5B5644
Tritanopia (blue-blind)
#00655D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126642;
/* rgb */ color: rgb(18, 102, 66);
/* oklch */ color: oklch(45.3% 0.097 159.1);
Tailwind
colors: {
  custom: {
    50: '#609276',
    500: '#126642',
    950: '#000000',
  },
}
SCSS
$custom: #126642;
$custom-light: #609276;
$custom-dark: #000000;
JSON
{
  "hex": "#126642",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 66
  },
  "hsl": {
    "h": 154.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45303,
    "c": 0.09683,
    "h": 159.1
  },
  "luminance": 0.10025
}

Semantic roles & 50–950 ramp

primary
#126642
secondary
#9E3662
accent
#3B87ED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #126642

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

Preview Lab → · Contrast checker → · Palette generator →

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