#125954#125954

#125954 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.1% C 0.067 H 187.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#125954
RGBrgb(18, 89, 84)
HSLhsl(176, 66%, 21%)
HSVhsv(176, 80%, 35%)
CMYKcmyk(79.8%, 0%, 5.6%, 65.1%)
CIE-LABlab(33.80, -22.19, -3.24)
CIE-LCHlch(33.80, 22.42, 188.30°)
OKLaboklab(42.11% -0.0664 -0.0091)
OKLCHoklch(42.11% 0.067 187.8)
XYZxyz(5.4213, 7.9128, 9.6274)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125954 #591217
analogous
#125930 #125954 #123A59
triadic
#125954 #541259 #595412
tetradic
#125954 #301259 #591217 #3A5912
square
#125954 #301259 #591217 #3A5912
split-complementary
#125954 #59123A #593012
monochromatic
#051918 #082624 #125954 #1C8C84 #27BFB4

Accessibility & contrast

On white

8.13
#125954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125954
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125954#FFFFFF#000000##FFFFFF
##1259541.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125954;
/* rgb */ color: rgb(18, 89, 84);
/* oklch */ color: oklch(42.1% 0.067 187.8);
Tailwind
colors: {
  custom: {
    50: '#5e8884',
    500: '#125954',
    950: '#000000',
  },
}
SCSS
$custom: #125954;
$custom-light: #5e8884;
$custom-dark: #000000;
JSON
{
  "hex": "#125954",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 84
  },
  "hsl": {
    "h": 175.775,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.067,
    "h": 187.8
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#125954
secondary
#92353C
accent
#3F4BE9
background
#F5F8F8
surface
#EAF0EF
border
#C6CBCA
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125954

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

Preview Lab → · Contrast checker → · Palette generator →

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