#125C42#125C42

#125C42 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.4% C 0.083 H 164.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#125C42
RGBrgb(18, 92, 66)
HSLhsl(159, 67%, 22%)
HSVhsv(159, 80%, 36%)
CMYKcmyk(80.4%, 0%, 28.3%, 63.9%)
CIE-LABlab(34.35, -28.92, 8.78)
CIE-LCHlch(34.35, 30.23, 163.11°)
OKLaboklab(42.39% -0.0794 0.0224)
OKLCHoklch(42.39% 0.083 164.2)
XYZxyz(5.0594, 8.1756, 6.4646)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C42 #5C122C
analogous
#125C1D #125C42 #12515C
triadic
#125C42 #42125C #5C4212
tetradic
#125C42 #1D125C #5C122C #515C12
square
#125C42 #1D125C #5C122C #515C12
split-complementary
#125C42 #5C1251 #5C1D12
monochromatic
#051A12 #08291D #125C42 #1C8F67 #26C28B

Accessibility & contrast

On white

7.97
#125C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#125C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C42
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C42#FFFFFF#000000##FFFFFF
##125C421.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5541
Deuteranopia (green-blind)
#514E44
Tritanopia (blue-blind)
#005C55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125c42;
/* rgb */ color: rgb(18, 92, 66);
/* oklch */ color: oklch(42.4% 0.083 164.2);
Tailwind
colors: {
  custom: {
    50: '#5d8b76',
    500: '#125c42',
    950: '#000000',
  },
}
SCSS
$custom: #125c42;
$custom-light: #5d8b76;
$custom-dark: #000000;
JSON
{
  "hex": "#125c42",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 66
  },
  "hsl": {
    "h": 158.919,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4239,
    "c": 0.08251,
    "h": 164.2
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#125C42
secondary
#943557
accent
#3E7AEA
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125C42

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

Preview Lab → · Contrast checker → · Palette generator →

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