#125542#125542

#125542 is a dark, moderate teal. Relative luminance 0.070; OKLCH L 40.3% C 0.073 H 169.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#125542
RGBrgb(18, 85, 66)
HSLhsl(163, 65%, 20%)
HSVhsv(163, 79%, 33%)
CMYKcmyk(78.8%, 0%, 22.4%, 66.7%)
CIE-LABlab(31.85, -25.62, 5.26)
CIE-LCHlch(31.85, 26.15, 168.40°)
OKLaboklab(40.34% -0.0714 0.0134)
OKLCHoklch(40.34% 0.073 169.3)
XYZxyz(4.4808, 7.0184, 6.2717)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125542 #551225
analogous
#125520 #125542 #124655
triadic
#125542 #421255 #554212
tetradic
#125542 #201255 #551225 #465512
square
#125542 #201255 #551225 #465512
split-complementary
#125542 #551246 #552012
monochromatic
#051914 #07221B #125542 #1D8869 #27BA90

Accessibility & contrast

On white

8.74
#125542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#125542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125542
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125542#FFFFFF#000000##FFFFFF
##1255421.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F41
Deuteranopia (green-blind)
#4A4843
Tritanopia (blue-blind)
#005650
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125542;
/* rgb */ color: rgb(18, 85, 66);
/* oklch */ color: oklch(40.3% 0.073 169.3);
Tailwind
colors: {
  custom: {
    50: '#5c8576',
    500: '#125542',
    950: '#000000',
  },
}
SCSS
$custom: #125542;
$custom-light: #5c8576;
$custom-dark: #000000;
JSON
{
  "hex": "#125542",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 66
  },
  "hsl": {
    "h": 162.985,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.07265,
    "h": 169.3
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#125542
secondary
#8E354E
accent
#406FE8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #125542

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

Preview Lab → · Contrast checker → · Palette generator →

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