#125949#125949

#125949 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.7% C 0.073 H 173.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#125949
RGBrgb(18, 89, 73)
HSLhsl(166, 66%, 21%)
HSVhsv(166, 80%, 35%)
CMYKcmyk(79.8%, 0%, 18%, 65.1%)
CIE-LABlab(33.46, -25.57, 3.18)
CIE-LCHlch(33.46, 25.76, 172.92°)
OKLaboklab(41.73% -0.0722 0.008)
OKLCHoklch(41.73% 0.073 173.7)
XYZxyz(5.0238, 7.7538, 7.5339)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125949 #591222
analogous
#125925 #125949 #124559
triadic
#125949 #491259 #594912
tetradic
#125949 #251259 #591222 #455912
square
#125949 #251259 #591222 #455912
split-complementary
#125949 #591245 #592512
monochromatic
#051915 #08261F #125949 #1C8C73 #27BF9D

Accessibility & contrast

On white

8.23
#125949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#125949 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125949
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125949#FFFFFF#000000##FFFFFF
##1259491.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565348
Deuteranopia (green-blind)
#4C4C4A
Tritanopia (blue-blind)
#005A54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125949;
/* rgb */ color: rgb(18, 89, 73);
/* oklch */ color: oklch(41.7% 0.073 173.7);
Tailwind
colors: {
  custom: {
    50: '#5d887b',
    500: '#125949',
    950: '#000000',
  },
}
SCSS
$custom: #125949;
$custom-light: #5d887b;
$custom-dark: #000000;
JSON
{
  "hex": "#125949",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 73
  },
  "hsl": {
    "h": 166.479,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.07264,
    "h": 173.7
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#125949
secondary
#92354A
accent
#3F65E9
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125949

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

Preview Lab → · Contrast checker → · Palette generator →

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