#125F47#125F47

#125F47 is a dark, moderate teal. Relative luminance 0.088; OKLCH L 43.4% C 0.082 H 166.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#125F47
RGBrgb(18, 95, 71)
HSLhsl(161, 68%, 22%)
HSVhsv(161, 81%, 37%)
CMYKcmyk(81.1%, 0%, 25.3%, 62.7%)
CIE-LABlab(35.53, -28.98, 7.37)
CIE-LCHlch(35.53, 29.90, 165.74°)
OKLaboklab(43.41% -0.0801 0.0188)
OKLCHoklch(43.41% 0.082 166.8)
XYZxyz(5.4784, 8.7673, 7.3635)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F47 #5F122A
analogous
#125F21 #125F47 #12515F
triadic
#125F47 #47125F #5F4712
tetradic
#125F47 #21125F #5F122A #515F12
square
#125F47 #21125F #5F122A #515F12
split-complementary
#125F47 #5F1251 #5F2112
monochromatic
#051A13 #082C21 #125F47 #1C926D #25C694

Accessibility & contrast

On white

7.63
#125F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#125F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F47
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F47#FFFFFF#000000##FFFFFF
##125F471.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5846
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#005F58
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #125f47;
/* rgb */ color: rgb(18, 95, 71);
/* oklch */ color: oklch(43.4% 0.082 166.8);
Tailwind
colors: {
  custom: {
    50: '#5e8d7a',
    500: '#125f47',
    950: '#000000',
  },
}
SCSS
$custom: #125f47;
$custom-light: #5e8d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#125f47",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 71
  },
  "hsl": {
    "h": 161.299,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43405,
    "c": 0.08226,
    "h": 166.8
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#125F47
secondary
#973654
accent
#3D73EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125F47

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

Preview Lab → · Contrast checker → · Palette generator →

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