#126740#126740

#126740 is a mid, moderate teal. Relative luminance 0.102; OKLCH L 45.5% C 0.100 H 157.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#126740
RGBrgb(18, 103, 64)
HSLhsl(152, 70%, 24%)
HSVhsv(152, 83%, 40%)
CMYKcmyk(82.5%, 0%, 37.9%, 59.6%)
CIE-LABlab(38.20, -34.25, 15.27)
CIE-LCHlch(38.20, 37.50, 155.96°)
OKLaboklab(45.55% -0.0926 0.0384)
OKLCHoklch(45.55% 0.1 157.5)
XYZxyz(6.0245, 10.1985, 6.5005)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126740 #671239
analogous
#126716 #126740 #126367
triadic
#126740 #401267 #674012
tetradic
#126740 #161267 #671239 #636712
square
#126740 #161267 #671239 #636712
split-complementary
#126740 #671263 #671612
monochromatic
#051A10 #093320 #126740 #1B9B60 #24CF81

Accessibility & contrast

On white

6.91
#126740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#126740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126740
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126740#FFFFFF#000000##FFFFFF
##1267401.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3D
Deuteranopia (green-blind)
#5C5743
Tritanopia (blue-blind)
#00665D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126740;
/* rgb */ color: rgb(18, 103, 64);
/* oklch */ color: oklch(45.5% 0.100 157.5);
Tailwind
colors: {
  custom: {
    50: '#609375',
    500: '#126740',
    950: '#000000',
  },
}
SCSS
$custom: #126740;
$custom-light: #609375;
$custom-dark: #000000;
JSON
{
  "hex": "#126740",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 64
  },
  "hsl": {
    "h": 152.471,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45546,
    "c": 0.10025,
    "h": 157.5
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#126740
secondary
#9F3666
accent
#3B8DED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #126740

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

Preview Lab → · Contrast checker → · Palette generator →

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