#125C47#125C47

#125C47 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.5% C 0.078 H 168.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#125C47
RGBrgb(18, 92, 71)
HSLhsl(163, 67%, 22%)
HSVhsv(163, 80%, 36%)
CMYKcmyk(80.4%, 0%, 22.8%, 63.9%)
CIE-LABlab(34.47, -27.58, 5.86)
CIE-LCHlch(34.47, 28.19, 168.00°)
OKLaboklab(42.54% -0.0767 0.015)
OKLCHoklch(42.54% 0.078 168.9)
XYZxyz(5.2133, 8.2372, 7.2752)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C47 #5C1227
analogous
#125C22 #125C47 #124C5C
triadic
#125C47 #47125C #5C4712
tetradic
#125C47 #22125C #5C1227 #4C5C12
square
#125C47 #22125C #5C1227 #4C5C12
split-complementary
#125C47 #5C124C #5C2212
monochromatic
#051A14 #08291F #125C47 #1C8F6F #26C296

Accessibility & contrast

On white

7.93
#125C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#125C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C47
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C47#FFFFFF#000000##FFFFFF
##125C471.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595546
Deuteranopia (green-blind)
#504E48
Tritanopia (blue-blind)
#005D56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125c47;
/* rgb */ color: rgb(18, 92, 71);
/* oklch */ color: oklch(42.5% 0.078 168.9);
Tailwind
colors: {
  custom: {
    50: '#5d8b7a',
    500: '#125c47',
    950: '#000000',
  },
}
SCSS
$custom: #125c47;
$custom-light: #5d8b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#125c47",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 71
  },
  "hsl": {
    "h": 162.973,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42536,
    "c": 0.07815,
    "h": 168.9
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#125C47
secondary
#943550
accent
#3E6FEA
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125C47

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

Preview Lab → · Contrast checker → · Palette generator →

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