#126640#126640

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

Color values

HEX#126640
RGBrgb(18, 102, 64)
HSLhsl(153, 70%, 24%)
HSVhsv(153, 82%, 40%)
CMYKcmyk(82.4%, 0%, 37.3%, 60%)
CIE-LABlab(37.84, -33.83, 14.80)
CIE-LCHlch(37.84, 36.92, 156.37°)
OKLaboklab(45.26% -0.0915 0.0372)
OKLCHoklch(45.26% 0.099 157.9)
XYZxyz(5.9256, 10.0008, 6.4675)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126640 #661238
analogous
#126616 #126640 #126266
triadic
#126640 #401266 #664012
tetradic
#126640 #161266 #661238 #626612
square
#126640 #161266 #661238 #626612
split-complementary
#126640 #661262 #661612
monochromatic
#051A10 #09321F #126640 #1B9A61 #24CE81

Accessibility & contrast

On white

7.00
#126640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#126640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126640
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126640#FFFFFF#000000##FFFFFF
##1266401.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#5B5643
Tritanopia (blue-blind)
#00655C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126640;
/* rgb */ color: rgb(18, 102, 64);
/* oklch */ color: oklch(45.3% 0.099 157.9);
Tailwind
colors: {
  custom: {
    50: '#609275',
    500: '#126640',
    950: '#000000',
  },
}
SCSS
$custom: #126640;
$custom-light: #609275;
$custom-dark: #000000;
JSON
{
  "hex": "#126640",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 64
  },
  "hsl": {
    "h": 152.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.09882,
    "h": 157.9
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#126640
secondary
#9E3665
accent
#3B8BED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #126640

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

Preview Lab → · Contrast checker → · Palette generator →

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