#125D4B#125D4B

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

Color values

HEX#125D4B
RGBrgb(18, 93, 75)
HSLhsl(166, 68%, 22%)
HSVhsv(166, 81%, 36%)
CMYKcmyk(80.6%, 0%, 19.4%, 63.5%)
CIE-LABlab(34.93, -26.93, 4.04)
CIE-LCHlch(34.93, 27.23, 171.47°)
OKLaboklab(42.95% -0.0757 0.0103)
OKLCHoklch(42.95% 0.076 172.3)
XYZxyz(5.4331, 8.4646, 8.0027)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D4B #5D1224
analogous
#125D26 #125D4B #124A5D
triadic
#125D4B #4B125D #5D4B12
tetradic
#125D4B #26125D #5D1224 #4A5D12
square
#125D4B #26125D #5D1224 #4A5D12
split-complementary
#125D4B #5D124A #5D2612
monochromatic
#051A15 #082A22 #125D4B #1C9074 #26C49E

Accessibility & contrast

On white

7.80
#125D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#125D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D4B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D4B#FFFFFF#000000##FFFFFF
##125D4B1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125d4b;
/* rgb */ color: rgb(18, 93, 75);
/* oklch */ color: oklch(42.9% 0.076 172.3);
Tailwind
colors: {
  custom: {
    50: '#5e8b7d',
    500: '#125d4b',
    950: '#000000',
  },
}
SCSS
$custom: #125d4b;
$custom-light: #5e8b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#125d4b",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 75
  },
  "hsl": {
    "h": 165.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42948,
    "c": 0.07636,
    "h": 172.3
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#125D4B
secondary
#95354C
accent
#3D67EA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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