#126845#126845

#126845 is a mid, moderate teal. Relative luminance 0.105; OKLCH L 46.0% C 0.097 H 160.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#126845
RGBrgb(18, 104, 69)
HSLhsl(156, 70%, 24%)
HSVhsv(156, 83%, 41%)
CMYKcmyk(82.7%, 0%, 33.7%, 59.2%)
CIE-LABlab(38.65, -33.51, 12.92)
CIE-LCHlch(38.65, 35.91, 158.92°)
OKLaboklab(45.96% -0.0911 0.0327)
OKLCHoklch(45.96% 0.097 160.2)
XYZxyz(6.2733, 10.4581, 7.3171)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126845 #681235
analogous
#12681A #126845 #126068
triadic
#126845 #451268 #684512
tetradic
#126845 #1A1268 #681235 #606812
square
#126845 #1A1268 #681235 #606812
split-complementary
#126845 #681260 #681A12
monochromatic
#051A11 #093422 #126845 #1B9C68 #24D08A

Accessibility & contrast

On white

6.79
#126845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#126845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126845
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126845#FFFFFF#000000##FFFFFF
##1268451.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F43
Deuteranopia (green-blind)
#5C5847
Tritanopia (blue-blind)
#00685F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126845;
/* rgb */ color: rgb(18, 104, 69);
/* oklch */ color: oklch(46.0% 0.097 160.2);
Tailwind
colors: {
  custom: {
    50: '#609478',
    500: '#126845',
    950: '#000000',
  },
}
SCSS
$custom: #126845;
$custom-light: #609478;
$custom-dark: #000000;
JSON
{
  "hex": "#126845",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 69
  },
  "hsl": {
    "h": 155.581,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.09675,
    "h": 160.2
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#126845
secondary
#A03661
accent
#3B83ED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D09
muted
#7A7E7B

Preview Lab

Preview with #126845

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

Preview Lab → · Contrast checker → · Palette generator →

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