#125047#125047

#125047 is a dark, moderate teal. Relative luminance 0.063; OKLCH L 39.0% C 0.063 H 181.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#125047
RGBrgb(18, 80, 71)
HSLhsl(171, 63%, 19%)
HSVhsv(171, 78%, 31%)
CMYKcmyk(77.5%, 0%, 11.2%, 68.6%)
CIE-LABlab(30.21, -21.63, -0.28)
CIE-LCHlch(30.21, 21.63, 180.75°)
OKLaboklab(39.05% -0.0628 -0.0011)
OKLCHoklch(39.05% 0.063 181)
XYZxyz(4.2549, 6.3204, 6.9557)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125047 #50121B
analogous
#125028 #125047 #123A50
triadic
#125047 #471250 #504712
tetradic
#125047 #281250 #50121B #3A5012
square
#125047 #281250 #50121B #3A5012
split-complementary
#125047 #50123A #502812
monochromatic
#061916 #071E1B #125047 #1D8273 #28B4A0

Accessibility & contrast

On white

9.27
#125047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#125047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125047
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125047#FFFFFF#000000##FFFFFF
##1250471.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B47
Deuteranopia (green-blind)
#434448
Tritanopia (blue-blind)
#00524D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125047;
/* rgb */ color: rgb(18, 80, 71);
/* oklch */ color: oklch(39.0% 0.063 181.0);
Tailwind
colors: {
  custom: {
    50: '#5b817a',
    500: '#125047',
    950: '#000000',
  },
}
SCSS
$custom: #125047;
$custom-light: #5b817a;
$custom-dark: #000000;
JSON
{
  "hex": "#125047",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 71
  },
  "hsl": {
    "h": 171.29,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39047,
    "c": 0.06284,
    "h": 181
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#125047
secondary
#893541
accent
#4159E6
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #125047

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

Preview Lab → · Contrast checker → · Palette generator →

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