#125A4F#125A4F

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

Color values

HEX#125A4F
RGBrgb(18, 90, 79)
HSLhsl(171, 67%, 21%)
HSVhsv(171, 80%, 35%)
CMYKcmyk(80%, 0%, 12.2%, 64.7%)
CIE-LABlab(33.99, -24.27, 0.18)
CIE-LCHlch(33.99, 24.27, 179.57°)
OKLaboklab(42.22% -0.0701 0.0001)
OKLCHoklch(42.22% 0.07 179.9)
XYZxyz(5.3162, 8.0048, 8.6605)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A4F #5A121D
analogous
#125A2B #125A4F #12415A
triadic
#125A4F #4F125A #5A4F12
tetradic
#125A4F #2B125A #5A121D #415A12
square
#125A4F #2B125A #5A121D #415A12
split-complementary
#125A4F #5A1241 #5A2B12
monochromatic
#051A16 #082722 #125A4F #1C8D7C #26C0A9

Accessibility & contrast

On white

8.07
#125A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125A4F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A4F#FFFFFF#000000##FFFFFF
##125A4F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544F
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#005C57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125a4f;
/* rgb */ color: rgb(18, 90, 79);
/* oklch */ color: oklch(42.2% 0.070 179.9);
Tailwind
colors: {
  custom: {
    50: '#5e8980',
    500: '#125a4f',
    950: '#000000',
  },
}
SCSS
$custom: #125a4f;
$custom-light: #5e8980;
$custom-dark: #000000;
JSON
{
  "hex": "#125a4f",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 79
  },
  "hsl": {
    "h": 170.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.07014,
    "h": 179.9
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#125A4F
secondary
#933544
accent
#3E58EA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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