#125348#125348

#125348 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 40.0% C 0.066 H 178.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#125348
RGBrgb(18, 83, 72)
HSLhsl(170, 64%, 20%)
HSVhsv(170, 78%, 33%)
CMYKcmyk(78.3%, 0%, 13.3%, 67.5%)
CIE-LABlab(31.31, -22.87, 0.68)
CIE-LCHlch(31.31, 22.88, 178.29°)
OKLaboklab(39.96% -0.0658 0.0014)
OKLCHoklch(39.96% 0.066 178.7)
XYZxyz(4.5118, 6.7825, 7.2010)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125348 #53121D
analogous
#125328 #125348 #123E53
triadic
#125348 #481253 #534812
tetradic
#125348 #281253 #53121D #3E5312
square
#125348 #281253 #53121D #3E5312
split-complementary
#125348 #53123E #532812
monochromatic
#051916 #07211C #125348 #1D8574 #28B89F

Accessibility & contrast

On white

8.91
#125348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125348
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125348#FFFFFF#000000##FFFFFF
##1253481.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D48
Deuteranopia (green-blind)
#464749
Tritanopia (blue-blind)
#005450
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125348;
/* rgb */ color: rgb(18, 83, 72);
/* oklch */ color: oklch(40.0% 0.066 178.7);
Tailwind
colors: {
  custom: {
    50: '#5c847a',
    500: '#125348',
    950: '#000000',
  },
}
SCSS
$custom: #125348;
$custom-light: #5c847a;
$custom-dark: #000000;
JSON
{
  "hex": "#125348",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 72
  },
  "hsl": {
    "h": 169.846,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39955,
    "c": 0.06583,
    "h": 178.7
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#125348
secondary
#8C3544
accent
#405DE7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B09
muted
#797C7B

Preview Lab

Preview with #125348

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

Preview Lab → · Contrast checker → · Palette generator →

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