#126F52#126F52

#126F52 is a mid, moderate teal. Relative luminance 0.121; OKLCH L 48.3% C 0.095 H 166.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#126F52
RGBrgb(18, 111, 82)
HSLhsl(161, 72%, 25%)
HSVhsv(161, 84%, 44%)
CMYKcmyk(83.8%, 0%, 26.1%, 56.5%)
CIE-LABlab(41.38, -33.30, 8.93)
CIE-LCHlch(41.38, 34.48, 164.99°)
OKLaboklab(48.3% -0.0917 0.0228)
OKLCHoklch(48.3% 0.095 166)
XYZxyz(7.4560, 12.1057, 9.9247)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F52 #6F122F
analogous
#126F23 #126F52 #125E6F
triadic
#126F52 #52126F #6F5212
tetradic
#126F52 #23126F #6F122F #5E6F12
square
#126F52 #23126F #6F122F #5E6F12
split-complementary
#126F52 #6F125E #6F2312
monochromatic
#041A13 #093A2B #126F52 #1BA479 #23D8A0

Accessibility & contrast

On white

6.14
#126F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#126F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F52
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F52#FFFFFF#000000##FFFFFF
##126F521.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6650
Deuteranopia (green-blind)
#615E54
Tritanopia (blue-blind)
#006F67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #126f52;
/* rgb */ color: rgb(18, 111, 82);
/* oklch */ color: oklch(48.3% 0.095 166.0);
Tailwind
colors: {
  custom: {
    50: '#629982',
    500: '#126f52',
    950: '#000000',
  },
}
SCSS
$custom: #126f52;
$custom-light: #629982;
$custom-dark: #000000;
JSON
{
  "hex": "#126f52",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 82
  },
  "hsl": {
    "h": 161.29,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48302,
    "c": 0.09452,
    "h": 166
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#126F52
secondary
#A63759
accent
#3972EF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126F52

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

Preview Lab → · Contrast checker → · Palette generator →

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