#125254#125254

#125254 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 40.1% C 0.061 H 198.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#125254
RGBrgb(18, 82, 84)
HSLhsl(182, 65%, 20%)
HSVhsv(182, 79%, 33%)
CMYKcmyk(78.6%, 2.4%, 0%, 67.1%)
CIE-LABlab(31.35, -18.45, -6.88)
CIE-LCHlch(31.35, 19.69, 200.46°)
OKLaboklab(40.13% -0.0584 -0.0191)
OKLCHoklch(40.13% 0.061 198.1)
XYZxyz(4.8663, 6.8027, 9.4424)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125254 #541412
analogous
#125435 #125254 #123154
triadic
#125254 #541252 #525412
tetradic
#125254 #351254 #541412 #315412
square
#125254 #351254 #541412 #315412
split-complementary
#125254 #541231 #543512
monochromatic
#051919 #072122 #125254 #1D8386 #28B4B9

Accessibility & contrast

On white

8.90
#125254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#125254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125254
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125254#FFFFFF#000000##FFFFFF
##1252541.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E54
Deuteranopia (green-blind)
#424754
Tritanopia (blue-blind)
#005552
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125254;
/* rgb */ color: rgb(18, 82, 84);
/* oklch */ color: oklch(40.1% 0.061 198.1);
Tailwind
colors: {
  custom: {
    50: '#5d8384',
    500: '#125254',
    950: '#000000',
  },
}
SCSS
$custom: #125254;
$custom-light: #5d8384;
$custom-dark: #000000;
JSON
{
  "hex": "#125254",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 84
  },
  "hsl": {
    "h": 181.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.06145,
    "h": 198.1
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#125254
secondary
#8D3835
accent
#4540E8
background
#F5F8F8
surface
#E9EFEF
border
#C5CACA
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #125254

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

Preview Lab → · Contrast checker → · Palette generator →

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