#126541#126541

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

Color values

HEX#126541
RGBrgb(18, 101, 65)
HSLhsl(154, 70%, 23%)
HSVhsv(154, 82%, 40%)
CMYKcmyk(82.2%, 0%, 35.6%, 60.4%)
CIE-LABlab(37.51, -33.17, 13.75)
CIE-LCHlch(37.51, 35.90, 157.48°)
OKLaboklab(44.99% -0.0899 0.0347)
OKLCHoklch(44.99% 0.096 158.9)
XYZxyz(5.8567, 9.8169, 6.5862)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126541 #651236
analogous
#126517 #126541 #125F65
triadic
#126541 #411265 #654112
tetradic
#126541 #171265 #651236 #5F6512
square
#126541 #171265 #651236 #5F6512
split-complementary
#126541 #65125F #651712
monochromatic
#051A11 #093120 #126541 #1B9962 #25CD84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126541#FFFFFF#000000##FFFFFF
##1265411.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)
#645D3F
Deuteranopia (green-blind)
#5A5543
Tritanopia (blue-blind)
#00645C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126541;
/* rgb */ color: rgb(18, 101, 65);
/* oklch */ color: oklch(45.0% 0.096 158.9);
Tailwind
colors: {
  custom: {
    50: '#5f9275',
    500: '#126541',
    950: '#000000',
  },
}
SCSS
$custom: #126541;
$custom-light: #5f9275;
$custom-dark: #000000;
JSON
{
  "hex": "#126541",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 65
  },
  "hsl": {
    "h": 153.976,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44988,
    "c": 0.09639,
    "h": 158.9
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#126541
secondary
#9D3663
accent
#3B88ED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #126541

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

Preview Lab → · Contrast checker → · Palette generator →

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