#126545#126545

#126545 is a mid, moderate teal. Relative luminance 0.099; OKLCH L 45.1% C 0.092 H 161.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#126545
RGBrgb(18, 101, 69)
HSLhsl(157, 70%, 23%)
HSVhsv(157, 82%, 40%)
CMYKcmyk(82.2%, 0%, 31.7%, 60.4%)
CIE-LABlab(37.60, -32.20, 11.47)
CIE-LCHlch(37.60, 34.18, 160.40°)
OKLaboklab(45.09% -0.0878 0.0291)
OKLCHoklch(45.09% 0.093 161.7)
XYZxyz(5.9767, 9.8649, 7.2182)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126545 #651232
analogous
#12651B #126545 #125B65
triadic
#126545 #451265 #654512
tetradic
#126545 #1B1265 #651232 #5B6512
square
#126545 #1B1265 #651232 #5B6512
split-complementary
#126545 #65125B #651B12
monochromatic
#051A12 #093122 #126545 #1B9968 #25CD8C

Accessibility & contrast

On white

7.06
#126545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#126545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126545
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126545#FFFFFF#000000##FFFFFF
##1265451.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635D43
Deuteranopia (green-blind)
#595647
Tritanopia (blue-blind)
#00655C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126545;
/* rgb */ color: rgb(18, 101, 69);
/* oklch */ color: oklch(45.1% 0.092 161.7);
Tailwind
colors: {
  custom: {
    50: '#5f9278',
    500: '#126545',
    950: '#000000',
  },
}
SCSS
$custom: #126545;
$custom-light: #5f9278;
$custom-dark: #000000;
JSON
{
  "hex": "#126545",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 69
  },
  "hsl": {
    "h": 156.867,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.0925,
    "h": 161.7
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#126545
secondary
#9D365E
accent
#3B80ED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D09
muted
#7A7E7B

Preview Lab

Preview with #126545

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

Preview Lab → · Contrast checker → · Palette generator →

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