#125247#125247

#125247 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.6% C 0.065 H 178.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#125247
RGBrgb(18, 82, 71)
HSLhsl(170, 64%, 20%)
HSVhsv(170, 78%, 32%)
CMYKcmyk(78%, 0%, 13.4%, 67.8%)
CIE-LABlab(30.92, -22.66, 0.76)
CIE-LCHlch(30.92, 22.67, 178.09°)
OKLaboklab(39.63% -0.0652 0.0017)
OKLCHoklch(39.63% 0.065 178.5)
XYZxyz(4.4035, 6.6176, 7.0053)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125247 #52121D
analogous
#125227 #125247 #123D52
triadic
#125247 #471252 #524712
tetradic
#125247 #271252 #52121D #3D5212
square
#125247 #271252 #52121D #3D5212
split-complementary
#125247 #52123D #522712
monochromatic
#061916 #07201C #125247 #1D8472 #28B69E

Accessibility & contrast

On white

9.04
#125247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#125247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125247
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125247#FFFFFF#000000##FFFFFF
##1252471.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D47
Deuteranopia (green-blind)
#464648
Tritanopia (blue-blind)
#00534F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125247;
/* rgb */ color: rgb(18, 82, 71);
/* oklch */ color: oklch(39.6% 0.065 178.5);
Tailwind
colors: {
  custom: {
    50: '#5b837a',
    500: '#125247',
    950: '#000000',
  },
}
SCSS
$custom: #125247;
$custom-light: #5b837a;
$custom-dark: #000000;
JSON
{
  "hex": "#125247",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 71
  },
  "hsl": {
    "h": 169.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39629,
    "c": 0.0652,
    "h": 178.5
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#125247
secondary
#8B3544
accent
#415DE7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #125247

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

Preview Lab → · Contrast checker → · Palette generator →

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