#125A47#125A47

#125A47 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.0% C 0.075 H 170.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#125A47
RGBrgb(18, 90, 71)
HSLhsl(164, 67%, 21%)
HSVhsv(164, 80%, 35%)
CMYKcmyk(80%, 0%, 21.1%, 64.7%)
CIE-LABlab(33.76, -26.63, 4.86)
CIE-LCHlch(33.76, 27.06, 169.66°)
OKLaboklab(41.96% -0.0744 0.0124)
OKLCHoklch(41.96% 0.075 170.6)
XYZxyz(5.0423, 7.8953, 7.2182)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A47 #5A1225
analogous
#125A23 #125A47 #12495A
triadic
#125A47 #47125A #5A4712
tetradic
#125A47 #23125A #5A1225 #495A12
square
#125A47 #23125A #5A1225 #495A12
split-complementary
#125A47 #5A1249 #5A2312
monochromatic
#051A14 #08271F #125A47 #1C8D6F #26C097

Accessibility & contrast

On white

8.14
#125A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#125A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A47
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A47#FFFFFF#000000##FFFFFF
##125A471.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575346
Deuteranopia (green-blind)
#4E4D48
Tritanopia (blue-blind)
#005B55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125a47;
/* rgb */ color: rgb(18, 90, 71);
/* oklch */ color: oklch(42.0% 0.075 170.6);
Tailwind
colors: {
  custom: {
    50: '#5d897a',
    500: '#125a47',
    950: '#000000',
  },
}
SCSS
$custom: #125a47;
$custom-light: #5d897a;
$custom-dark: #000000;
JSON
{
  "hex": "#125a47",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 71
  },
  "hsl": {
    "h": 164.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41955,
    "c": 0.07545,
    "h": 170.6
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#125A47
secondary
#93354E
accent
#3E6BEA
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125A47

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

Preview Lab → · Contrast checker → · Palette generator →

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