#126045#126045

#126045 is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.6% C 0.085 H 164.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#126045
RGBrgb(18, 96, 69)
HSLhsl(159, 68%, 22%)
HSVhsv(159, 81%, 38%)
CMYKcmyk(81.3%, 0%, 28.1%, 62.4%)
CIE-LABlab(35.84, -29.97, 9.02)
CIE-LCHlch(35.84, 31.30, 163.25°)
OKLaboklab(43.64% -0.0823 0.023)
OKLCHoklch(43.64% 0.085 164.4)
XYZxyz(5.5059, 8.9233, 7.0613)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126045 #60122D
analogous
#12601E #126045 #125460
triadic
#126045 #451260 #604512
tetradic
#126045 #1E1260 #60122D #546012
square
#126045 #1E1260 #60122D #546012
split-complementary
#126045 #601254 #601E12
monochromatic
#051A13 #082C20 #126045 #1C946A #25C78F

Accessibility & contrast

On white

7.54
#126045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#126045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126045
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126045#FFFFFF#000000##FFFFFF
##1260451.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5843
Deuteranopia (green-blind)
#545147
Tritanopia (blue-blind)
#006059
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126045;
/* rgb */ color: rgb(18, 96, 69);
/* oklch */ color: oklch(43.6% 0.085 164.4);
Tailwind
colors: {
  custom: {
    50: '#5e8e78',
    500: '#126045',
    950: '#000000',
  },
}
SCSS
$custom: #126045;
$custom-light: #5e8e78;
$custom-dark: #000000;
JSON
{
  "hex": "#126045",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 69
  },
  "hsl": {
    "h": 159.231,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43639,
    "c": 0.08543,
    "h": 164.4
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#126045
secondary
#983658
accent
#3D79EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #126045

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

Preview Lab → · Contrast checker → · Palette generator →

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