#125754#125754

#125754 is a dark, moderate teal. Relative luminance 0.076; OKLCH L 41.5% C 0.065 H 190.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#125754
RGBrgb(18, 87, 84)
HSLhsl(177, 66%, 21%)
HSVhsv(177, 79%, 34%)
CMYKcmyk(79.3%, 0%, 3.4%, 65.9%)
CIE-LABlab(33.10, -21.14, -4.27)
CIE-LCHlch(33.10, 21.57, 191.43°)
OKLaboklab(41.55% -0.0641 -0.0119)
OKLCHoklch(41.55% 0.065 190.6)
XYZxyz(5.2571, 7.5844, 9.5727)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125754 #571215
analogous
#125731 #125754 #123757
triadic
#125754 #541257 #575412
tetradic
#125754 #311257 #571215 #375712
square
#125754 #311257 #571215 #375712
split-complementary
#125754 #571237 #573112
monochromatic
#051918 #082423 #125754 #1C8A85 #27BCB6

Accessibility & contrast

On white

8.34
#125754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#125754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125754
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125754#FFFFFF#000000##FFFFFF
##1257541.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515254
Deuteranopia (green-blind)
#484B55
Tritanopia (blue-blind)
#005A56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125754;
/* rgb */ color: rgb(18, 87, 84);
/* oklch */ color: oklch(41.5% 0.065 190.6);
Tailwind
colors: {
  custom: {
    50: '#5d8784',
    500: '#125754',
    950: '#000000',
  },
}
SCSS
$custom: #125754;
$custom-light: #5d8784;
$custom-dark: #000000;
JSON
{
  "hex": "#125754",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 84
  },
  "hsl": {
    "h": 177.391,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41545,
    "c": 0.06521,
    "h": 190.6
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#125754
secondary
#903539
accent
#3F47E9
background
#F5F8F8
surface
#EAEFEF
border
#C6CACA
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125754

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

Preview Lab → · Contrast checker → · Palette generator →

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