#125A4D#125A4D

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

Color values

HEX#125A4D
RGBrgb(18, 90, 77)
HSLhsl(169, 67%, 21%)
HSVhsv(169, 80%, 35%)
CMYKcmyk(80%, 0%, 14.4%, 64.7%)
CIE-LABlab(33.93, -24.88, 1.35)
CIE-LCHlch(33.93, 24.91, 176.90°)
OKLaboklab(42.15% -0.0712 0.0032)
OKLCHoklch(42.15% 0.071 177.4)
XYZxyz(5.2445, 7.9761, 8.2829)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A4D #5A121F
analogous
#125A29 #125A4D #12435A
triadic
#125A4D #4D125A #5A4D12
tetradic
#125A4D #29125A #5A121F #435A12
square
#125A4D #29125A #5A121F #435A12
split-complementary
#125A4D #5A1243 #5A2912
monochromatic
#051A16 #082721 #125A4D #1C8D79 #26C0A4

Accessibility & contrast

On white

8.09
#125A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125A4D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A4D#FFFFFF#000000##FFFFFF
##125A4D1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125a4d;
/* rgb */ color: rgb(18, 90, 77);
/* oklch */ color: oklch(42.1% 0.071 177.4);
Tailwind
colors: {
  custom: {
    50: '#5d897e',
    500: '#125a4d',
    950: '#000000',
  },
}
SCSS
$custom: #125a4d;
$custom-light: #5d897e;
$custom-dark: #000000;
JSON
{
  "hex": "#125a4d",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 77
  },
  "hsl": {
    "h": 169.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4215,
    "c": 0.07127,
    "h": 177.4
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#125A4D
secondary
#933546
accent
#3E5DEA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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