#126F5D#126F5D

#126F5D is a mid, moderate teal. Relative luminance 0.123; OKLCH L 48.6% C 0.086 H 175.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#126F5D
RGBrgb(18, 111, 93)
HSLhsl(168, 72%, 25%)
HSVhsv(168, 84%, 44%)
CMYKcmyk(83.8%, 0%, 16.2%, 56.5%)
CIE-LABlab(41.67, -30.29, 2.72)
CIE-LCHlch(41.67, 30.41, 174.86°)
OKLaboklab(48.63% -0.086 0.0068)
OKLCHoklch(48.63% 0.086 175.5)
XYZxyz(7.9086, 12.2868, 12.3086)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F5D #6F1224
analogous
#126F2E #126F5D #12526F
triadic
#126F5D #5D126F #6F5D12
tetradic
#126F5D #2E126F #6F1224 #526F12
square
#126F5D #2E126F #6F1224 #526F12
split-complementary
#126F5D #6F1252 #6F2E12
monochromatic
#041A16 #093A31 #126F5D #1BA489 #23D8B5

Accessibility & contrast

On white

6.07
#126F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#126F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F5D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F5D#FFFFFF#000000##FFFFFF
##126F5D1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B675C
Deuteranopia (green-blind)
#5F5F5E
Tritanopia (blue-blind)
#00716A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #126f5d;
/* rgb */ color: rgb(18, 111, 93);
/* oklch */ color: oklch(48.6% 0.086 175.5);
Tailwind
colors: {
  custom: {
    50: '#63998a',
    500: '#126f5d',
    950: '#000000',
  },
}
SCSS
$custom: #126f5d;
$custom-light: #63998a;
$custom-dark: #000000;
JSON
{
  "hex": "#126f5d",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 93
  },
  "hsl": {
    "h": 168.387,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.08622,
    "h": 175.5
  },
  "luminance": 0.12288
}

Semantic roles & 50–950 ramp

primary
#126F5D
secondary
#A6374C
accent
#395CEF
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060E0B
muted
#7A7E7C

Preview Lab

Preview with #126F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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