#126840#126840

#126840 is a mid, moderate teal. Relative luminance 0.104; OKLCH L 45.8% C 0.102 H 157.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#126840
RGBrgb(18, 104, 64)
HSLhsl(152, 70%, 24%)
HSVhsv(152, 83%, 41%)
CMYKcmyk(82.7%, 0%, 38.5%, 59.2%)
CIE-LABlab(38.55, -34.67, 15.75)
CIE-LCHlch(38.55, 38.08, 155.57°)
OKLaboklab(45.84% -0.0937 0.0395)
OKLCHoklch(45.84% 0.102 157.1)
XYZxyz(6.1246, 10.3986, 6.5338)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126840 #68123A
analogous
#126815 #126840 #126568
triadic
#126840 #401268 #684012
tetradic
#126840 #151268 #68123A #656812
square
#126840 #151268 #68123A #656812
split-complementary
#126840 #681265 #681512
monochromatic
#051A10 #093420 #126840 #1B9C60 #24D080

Accessibility & contrast

On white

6.82
#126840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#126840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126840
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126840#FFFFFF#000000##FFFFFF
##1268401.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5D5843
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126840;
/* rgb */ color: rgb(18, 104, 64);
/* oklch */ color: oklch(45.8% 0.102 157.1);
Tailwind
colors: {
  custom: {
    50: '#609475',
    500: '#126840',
    950: '#000000',
  },
}
SCSS
$custom: #126840;
$custom-light: #609475;
$custom-dark: #000000;
JSON
{
  "hex": "#126840",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 152.093,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45836,
    "c": 0.10168,
    "h": 157.1
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#126840
secondary
#A03667
accent
#3B8EED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #126840

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

Preview Lab → · Contrast checker → · Palette generator →

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