#125D4C#125D4C

#125D4C is a dark, moderate teal. Relative luminance 0.085; OKLCH L 43.0% C 0.076 H 173.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#125D4C
RGBrgb(18, 93, 76)
HSLhsl(166, 68%, 22%)
HSVhsv(166, 81%, 36%)
CMYKcmyk(80.6%, 0%, 18.3%, 63.5%)
CIE-LABlab(34.96, -26.64, 3.46)
CIE-LCHlch(34.96, 26.86, 172.61°)
OKLaboklab(42.98% -0.0751 0.0087)
OKLCHoklch(42.98% 0.076 173.4)
XYZxyz(5.4676, 8.4784, 8.1844)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D4C #5D1223
analogous
#125D27 #125D4C #12495D
triadic
#125D4C #4C125D #5D4C12
tetradic
#125D4C #27125D #5D1223 #495D12
square
#125D4C #27125D #5D1223 #495D12
split-complementary
#125D4C #5D1249 #5D2712
monochromatic
#051A15 #082A22 #125D4C #1C9076 #26C4A0

Accessibility & contrast

On white

7.79
#125D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#125D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D4C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D4C#FFFFFF#000000##FFFFFF
##125D4C1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A564B
Deuteranopia (green-blind)
#504F4D
Tritanopia (blue-blind)
#005E58
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125d4c;
/* rgb */ color: rgb(18, 93, 76);
/* oklch */ color: oklch(43.0% 0.076 173.4);
Tailwind
colors: {
  custom: {
    50: '#5e8b7e',
    500: '#125d4c',
    950: '#000000',
  },
}
SCSS
$custom: #125d4c;
$custom-light: #5e8b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#125d4c",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 76
  },
  "hsl": {
    "h": 166.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.07565,
    "h": 173.4
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#125D4C
secondary
#95354B
accent
#3D65EA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125D4C

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

Preview Lab → · Contrast checker → · Palette generator →

#125D4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva