#125740#125740

#125740 is a dark, moderate teal. Relative luminance 0.073; OKLCH L 40.9% C 0.077 H 165.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#125740
RGBrgb(18, 87, 64)
HSLhsl(160, 66%, 21%)
HSVhsv(160, 79%, 34%)
CMYKcmyk(79.3%, 0%, 26.4%, 65.9%)
CIE-LABlab(32.51, -27.13, 7.45)
CIE-LCHlch(32.51, 28.13, 164.64°)
OKLaboklab(40.87% -0.0748 0.019)
OKLCHoklch(40.87% 0.077 165.7)
XYZxyz(4.5825, 7.3146, 6.0198)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125740 #571229
analogous
#12571D #125740 #124B57
triadic
#125740 #401257 #574012
tetradic
#125740 #1D1257 #571229 #4B5712
square
#125740 #1D1257 #571229 #4B5712
split-complementary
#125740 #57124B #571D12
monochromatic
#051913 #08241B #125740 #1C8A65 #27BC8B

Accessibility & contrast

On white

8.53
#125740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#125740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125740
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125740#FFFFFF#000000##FFFFFF
##1257401.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503F
Deuteranopia (green-blind)
#4C4A42
Tritanopia (blue-blind)
#005751
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125740;
/* rgb */ color: rgb(18, 87, 64);
/* oklch */ color: oklch(40.9% 0.077 165.7);
Tailwind
colors: {
  custom: {
    50: '#5c8774',
    500: '#125740',
    950: '#000000',
  },
}
SCSS
$custom: #125740;
$custom-light: #5c8774;
$custom-dark: #000000;
JSON
{
  "hex": "#125740",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 64
  },
  "hsl": {
    "h": 160,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40869,
    "c": 0.07719,
    "h": 165.7
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#125740
secondary
#903553
accent
#3F78E9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #125740

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

Preview Lab → · Contrast checker → · Palette generator →

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