#125246#125246

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

Color values

HEX#125246
RGBrgb(18, 82, 70)
HSLhsl(169, 64%, 20%)
HSVhsv(169, 78%, 32%)
CMYKcmyk(78%, 0%, 14.6%, 67.8%)
CIE-LABlab(30.89, -22.97, 1.35)
CIE-LCHlch(30.89, 23.01, 176.64°)
OKLaboklab(39.6% -0.0657 0.0032)
OKLCHoklch(39.6% 0.066 177.2)
XYZxyz(4.3717, 6.6049, 6.8376)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125246 #52121E
analogous
#125226 #125246 #123E52
triadic
#125246 #461252 #524612
tetradic
#125246 #261252 #52121E #3E5212
square
#125246 #261252 #52121E #3E5212
split-complementary
#125246 #52123E #522612
monochromatic
#061915 #07201B #125246 #1D8471 #28B69C

Accessibility & contrast

On white

9.05
#125246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125246
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125246#FFFFFF#000000##FFFFFF
##1252461.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C45
Deuteranopia (green-blind)
#464647
Tritanopia (blue-blind)
#00534E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125246;
/* rgb */ color: rgb(18, 82, 70);
/* oklch */ color: oklch(39.6% 0.066 177.2);
Tailwind
colors: {
  custom: {
    50: '#5b8379',
    500: '#125246',
    950: '#000000',
  },
}
SCSS
$custom: #125246;
$custom-light: #5b8379;
$custom-dark: #000000;
JSON
{
  "hex": "#125246",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 70
  },
  "hsl": {
    "h": 168.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39595,
    "c": 0.0658,
    "h": 177.2
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#125246
secondary
#8B3545
accent
#4160E7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #125246

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

Preview Lab → · Contrast checker → · Palette generator →

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