#125A4C#125A4C

#125A4C is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.1% C 0.072 H 176.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#125A4C
RGBrgb(18, 90, 76)
HSLhsl(168, 67%, 21%)
HSVhsv(168, 80%, 35%)
CMYKcmyk(80%, 0%, 15.6%, 64.7%)
CIE-LABlab(33.90, -25.17, 1.93)
CIE-LCHlch(33.90, 25.25, 175.61°)
OKLaboklab(42.12% -0.0717 0.0047)
OKLCHoklch(42.12% 0.072 176.2)
XYZxyz(5.2095, 7.9621, 8.0984)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A4C #5A1220
analogous
#125A28 #125A4C #12445A
triadic
#125A4C #4C125A #5A4C12
tetradic
#125A4C #28125A #5A1220 #445A12
square
#125A4C #28125A #5A1220 #445A12
split-complementary
#125A4C #5A1244 #5A2812
monochromatic
#051A16 #082721 #125A4C #1C8D77 #26C0A2

Accessibility & contrast

On white

8.10
#125A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#125A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A4C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A4C#FFFFFF#000000##FFFFFF
##125A4C1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544B
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#005B56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125a4c;
/* rgb */ color: rgb(18, 90, 76);
/* oklch */ color: oklch(42.1% 0.072 176.2);
Tailwind
colors: {
  custom: {
    50: '#5d897e',
    500: '#125a4c',
    950: '#000000',
  },
}
SCSS
$custom: #125a4c;
$custom-light: #5d897e;
$custom-dark: #000000;
JSON
{
  "hex": "#125a4c",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 76
  },
  "hsl": {
    "h": 168.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42116,
    "c": 0.07189,
    "h": 176.2
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#125A4C
secondary
#933547
accent
#3E60EA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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