#125F51#125F51

#125F51 is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.7% C 0.075 H 177.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#125F51
RGBrgb(18, 95, 81)
HSLhsl(169, 68%, 22%)
HSVhsv(169, 81%, 37%)
CMYKcmyk(81.1%, 0%, 14.7%, 62.7%)
CIE-LABlab(35.80, -26.15, 1.57)
CIE-LCHlch(35.80, 26.19, 176.56°)
OKLaboklab(43.72% -0.0747 0.0038)
OKLCHoklch(43.72% 0.075 177.1)
XYZxyz(5.8261, 8.9064, 9.1950)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F51 #5F1220
analogous
#125F2B #125F51 #12475F
triadic
#125F51 #51125F #5F5112
tetradic
#125F51 #2B125F #5F1220 #475F12
square
#125F51 #2B125F #5F1220 #475F12
split-complementary
#125F51 #5F1247 #5F2B12
monochromatic
#051A16 #082C25 #125F51 #1C927D #25C6A9

Accessibility & contrast

On white

7.55
#125F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#125F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F51
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F51#FFFFFF#000000##FFFFFF
##125F511.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5950
Deuteranopia (green-blind)
#515152
Tritanopia (blue-blind)
#00605B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #125f51;
/* rgb */ color: rgb(18, 95, 81);
/* oklch */ color: oklch(43.7% 0.075 177.1);
Tailwind
colors: {
  custom: {
    50: '#5f8d81',
    500: '#125f51',
    950: '#000000',
  },
}
SCSS
$custom: #125f51;
$custom-light: #5f8d81;
$custom-dark: #000000;
JSON
{
  "hex": "#125f51",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 81
  },
  "hsl": {
    "h": 169.091,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43717,
    "c": 0.07481,
    "h": 177.1
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#125F51
secondary
#973647
accent
#3D5CEB
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C0A
muted
#797D7C

Preview Lab

Preview with #125F51

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

Preview Lab → · Contrast checker → · Palette generator →

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