#125A4E#125A4E

#125A4E is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.2% C 0.071 H 178.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#125A4E
RGBrgb(18, 90, 78)
HSLhsl(170, 67%, 21%)
HSVhsv(170, 80%, 35%)
CMYKcmyk(80%, 0%, 13.3%, 64.7%)
CIE-LABlab(33.96, -24.57, 0.77)
CIE-LCHlch(33.96, 24.59, 178.22°)
OKLaboklab(42.18% -0.0707 0.0016)
OKLCHoklch(42.18% 0.071 178.7)
XYZxyz(5.2801, 7.9904, 8.4703)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A4E #5A121E
analogous
#125A2A #125A4E #12425A
triadic
#125A4E #4E125A #5A4E12
tetradic
#125A4E #2A125A #5A121E #425A12
square
#125A4E #2A125A #5A121E #425A12
split-complementary
#125A4E #5A1242 #5A2A12
monochromatic
#051A16 #082722 #125A4E #1C8D7A #26C0A6

Accessibility & contrast

On white

8.08
#125A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#125A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A4E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A4E#FFFFFF#000000##FFFFFF
##125A4E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544E
Deuteranopia (green-blind)
#4C4D4F
Tritanopia (blue-blind)
#005C56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125a4e;
/* rgb */ color: rgb(18, 90, 78);
/* oklch */ color: oklch(42.2% 0.071 178.7);
Tailwind
colors: {
  custom: {
    50: '#5d897f',
    500: '#125a4e',
    950: '#000000',
  },
}
SCSS
$custom: #125a4e;
$custom-light: #5d897f;
$custom-dark: #000000;
JSON
{
  "hex": "#125a4e",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 78
  },
  "hsl": {
    "h": 170,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42184,
    "c": 0.07069,
    "h": 178.7
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#125A4E
secondary
#933545
accent
#3E5BEA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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