#126340#126340

#126340 is a dark, moderate teal. Relative luminance 0.094; OKLCH L 44.4% C 0.095 H 159.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#126340
RGBrgb(18, 99, 64)
HSLhsl(154, 69%, 23%)
HSVhsv(154, 82%, 39%)
CMYKcmyk(81.8%, 0%, 35.4%, 61.2%)
CIE-LABlab(36.78, -32.54, 13.36)
CIE-LCHlch(36.78, 35.18, 157.68°)
OKLaboklab(44.38% -0.0883 0.0337)
OKLCHoklch(44.38% 0.095 159.1)
XYZxyz(5.6361, 9.4218, 6.3710)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126340 #631235
analogous
#126317 #126340 #125D63
triadic
#126340 #401263 #634012
tetradic
#126340 #171263 #631235 #5D6312
square
#126340 #171263 #631235 #5D6312
split-complementary
#126340 #63125D #631712
monochromatic
#051A11 #092F1F #126340 #1B9761 #25CB83

Accessibility & contrast

On white

7.28
#126340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#126340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126340
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126340#FFFFFF#000000##FFFFFF
##1263401.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3E
Deuteranopia (green-blind)
#585442
Tritanopia (blue-blind)
#00625A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126340;
/* rgb */ color: rgb(18, 99, 64);
/* oklch */ color: oklch(44.4% 0.095 159.1);
Tailwind
colors: {
  custom: {
    50: '#5f9075',
    500: '#126340',
    950: '#000000',
  },
}
SCSS
$custom: #126340;
$custom-light: #5f9075;
$custom-dark: #000000;
JSON
{
  "hex": "#126340",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 64
  },
  "hsl": {
    "h": 154.074,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44381,
    "c": 0.0945,
    "h": 159.1
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#126340
secondary
#9B3662
accent
#3C88EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #126340

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

Preview Lab → · Contrast checker → · Palette generator →

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