#126540#126540

#126540 is a dark, moderate teal. Relative luminance 0.098; OKLCH L 45.0% C 0.097 H 158.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#126540
RGBrgb(18, 101, 64)
HSLhsl(153, 70%, 23%)
HSVhsv(153, 82%, 40%)
CMYKcmyk(82.2%, 0%, 36.6%, 60.4%)
CIE-LABlab(37.49, -33.40, 14.32)
CIE-LCHlch(37.49, 36.34, 156.79°)
OKLaboklab(44.96% -0.0904 0.0361)
OKLCHoklch(44.96% 0.097 158.3)
XYZxyz(5.8280, 9.8054, 6.4350)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126540 #651237
analogous
#126516 #126540 #126065
triadic
#126540 #401265 #654012
tetradic
#126540 #161265 #651237 #606512
square
#126540 #161265 #651237 #606512
split-complementary
#126540 #651260 #651612
monochromatic
#051A10 #09311F #126540 #1B9961 #25CD82

Accessibility & contrast

On white

7.09
#126540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#126540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126540
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126540#FFFFFF#000000##FFFFFF
##1265401.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645C3E
Deuteranopia (green-blind)
#5A5542
Tritanopia (blue-blind)
#00645B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126540;
/* rgb */ color: rgb(18, 101, 64);
/* oklch */ color: oklch(45.0% 0.097 158.3);
Tailwind
colors: {
  custom: {
    50: '#5f9275',
    500: '#126540',
    950: '#000000',
  },
}
SCSS
$custom: #126540;
$custom-light: #5f9275;
$custom-dark: #000000;
JSON
{
  "hex": "#126540",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 153.253,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44964,
    "c": 0.09738,
    "h": 158.3
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#126540
secondary
#9D3664
accent
#3B8AED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #126540

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

Preview Lab → · Contrast checker → · Palette generator →

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