#125255#125255

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

Color values

HEX#125255
RGBrgb(18, 82, 85)
HSLhsl(183, 65%, 20%)
HSVhsv(183, 79%, 33%)
CMYKcmyk(78.8%, 3.5%, 0%, 66.7%)
CIE-LABlab(31.39, -18.11, -7.46)
CIE-LCHlch(31.39, 19.58, 202.40°)
OKLaboklab(40.17% -0.0579 -0.0207)
OKLCHoklch(40.17% 0.062 199.7)
XYZxyz(4.9057, 6.8185, 9.6501)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125255 #551512
analogous
#125537 #125255 #123055
triadic
#125255 #551252 #525512
tetradic
#125255 #371255 #551512 #305512
square
#125255 #371255 #551512 #305512
split-complementary
#125255 #551230 #553712
monochromatic
#051819 #072122 #125255 #1D8388 #27B3BA

Accessibility & contrast

On white

8.88
#125255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125255
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125255#FFFFFF#000000##FFFFFF
##1252551.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E55
Deuteranopia (green-blind)
#424755
Tritanopia (blue-blind)
#005553
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125255;
/* rgb */ color: rgb(18, 82, 85);
/* oklch */ color: oklch(40.2% 0.061 199.7);
Tailwind
colors: {
  custom: {
    50: '#5d8384',
    500: '#125255',
    950: '#000000',
  },
}
SCSS
$custom: #125255;
$custom-light: #5d8384;
$custom-dark: #000000;
JSON
{
  "hex": "#125255",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 85
  },
  "hsl": {
    "h": 182.687,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40167,
    "c": 0.0615,
    "h": 199.7
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#125255
secondary
#8E3935
accent
#4740E8
background
#F5F8F8
surface
#E9EFEF
border
#C5CACA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #125255

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

Preview Lab → · Contrast checker → · Palette generator →

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