#125248#125248

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

Color values

HEX#125248
RGBrgb(18, 82, 72)
HSLhsl(171, 64%, 20%)
HSVhsv(171, 78%, 32%)
CMYKcmyk(78%, 0%, 12.2%, 67.8%)
CIE-LABlab(30.95, -22.35, 0.16)
CIE-LCHlch(30.95, 22.35, 179.58°)
OKLaboklab(39.66% -0.0646 0.0001)
OKLCHoklch(39.66% 0.065 179.9)
XYZxyz(4.4359, 6.6305, 7.1757)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125248 #52121C
analogous
#125228 #125248 #123C52
triadic
#125248 #481252 #524812
tetradic
#125248 #281252 #52121C #3C5212
square
#125248 #281252 #52121C #3C5212
split-complementary
#125248 #52123C #522812
monochromatic
#061916 #07201C #125248 #1D8474 #28B6A0

Accessibility & contrast

On white

9.03
#125248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#125248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125248
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125248#FFFFFF#000000##FFFFFF
##1252481.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D48
Deuteranopia (green-blind)
#454649
Tritanopia (blue-blind)
#00544F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125248;
/* rgb */ color: rgb(18, 82, 72);
/* oklch */ color: oklch(39.7% 0.065 179.9);
Tailwind
colors: {
  custom: {
    50: '#5b837a',
    500: '#125248',
    950: '#000000',
  },
}
SCSS
$custom: #125248;
$custom-light: #5b837a;
$custom-dark: #000000;
JSON
{
  "hex": "#125248",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 72
  },
  "hsl": {
    "h": 170.625,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.06464,
    "h": 179.9
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#125248
secondary
#8B3542
accent
#415BE7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #125248

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

Preview Lab → · Contrast checker → · Palette generator →

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