#125952#125952

#125952 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.0% C 0.068 H 185.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#125952
RGBrgb(18, 89, 82)
HSLhsl(174, 66%, 21%)
HSVhsv(174, 80%, 35%)
CMYKcmyk(79.8%, 0%, 7.9%, 65.1%)
CIE-LABlab(33.74, -22.83, -2.08)
CIE-LCHlch(33.74, 22.92, 185.20°)
OKLaboklab(42.04% -0.0674 -0.006)
OKLCHoklch(42.04% 0.068 185.1)
XYZxyz(5.3441, 7.8819, 9.2207)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125952 #591219
analogous
#12592E #125952 #123C59
triadic
#125952 #521259 #595212
tetradic
#125952 #2E1259 #591219 #3C5912
square
#125952 #2E1259 #591219 #3C5912
split-complementary
#125952 #59123C #592E12
monochromatic
#051917 #082623 #125952 #1C8C81 #27BFB0

Accessibility & contrast

On white

8.15
#125952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#125952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125952
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125952#FFFFFF#000000##FFFFFF
##1259521.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545452
Deuteranopia (green-blind)
#4A4C53
Tritanopia (blue-blind)
#005B57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125952;
/* rgb */ color: rgb(18, 89, 82);
/* oklch */ color: oklch(42.0% 0.068 185.1);
Tailwind
colors: {
  custom: {
    50: '#5e8882',
    500: '#125952',
    950: '#000000',
  },
}
SCSS
$custom: #125952;
$custom-light: #5e8882;
$custom-dark: #000000;
JSON
{
  "hex": "#125952",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 82
  },
  "hsl": {
    "h": 174.085,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4204,
    "c": 0.06768,
    "h": 185.1
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#125952
secondary
#92353E
accent
#3F4FE9
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125952

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

Preview Lab → · Contrast checker → · Palette generator →

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