#126A52#126A52

#126A52 is a mid, moderate teal. Relative luminance 0.110; OKLCH L 46.9% C 0.088 H 169.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#126A52
RGBrgb(18, 106, 82)
HSLhsl(164, 71%, 24%)
HSVhsv(164, 83%, 42%)
CMYKcmyk(83%, 0%, 22.6%, 58.4%)
CIE-LABlab(39.66, -31.06, 6.49)
CIE-LCHlch(39.66, 31.73, 168.20°)
OKLaboklab(46.88% -0.0863 0.0166)
OKLCHoklch(46.88% 0.088 169.1)
XYZxyz(6.9256, 11.0450, 9.7479)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A52 #6A122A
analogous
#126A26 #126A52 #12566A
triadic
#126A52 #52126A #6A5212
tetradic
#126A52 #26126A #6A122A #566A12
square
#126A52 #26126A #6A122A #566A12
split-complementary
#126A52 #6A1256 #6A2612
monochromatic
#041A14 #09362A #126A52 #1B9E7A #24D3A3

Accessibility & contrast

On white

6.54
#126A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#126A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A52
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A52#FFFFFF#000000##FFFFFF
##126A521.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676251
Deuteranopia (green-blind)
#5C5A54
Tritanopia (blue-blind)
#006B63
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126a52;
/* rgb */ color: rgb(18, 106, 82);
/* oklch */ color: oklch(46.9% 0.088 169.1);
Tailwind
colors: {
  custom: {
    50: '#619582',
    500: '#126a52',
    950: '#000000',
  },
}
SCSS
$custom: #126a52;
$custom-light: #619582;
$custom-dark: #000000;
JSON
{
  "hex": "#126a52",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 82
  },
  "hsl": {
    "h": 163.636,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46883,
    "c": 0.08791,
    "h": 169.1
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#126A52
secondary
#A23654
accent
#3A6BEE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126A52

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

Preview Lab → · Contrast checker → · Palette generator →

#126A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva