#125D51#125D51

#125D51 is a dark, moderate teal. Relative luminance 0.086; OKLCH L 43.1% C 0.072 H 179.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#125D51
RGBrgb(18, 93, 81)
HSLhsl(170, 68%, 22%)
HSVhsv(170, 81%, 36%)
CMYKcmyk(80.6%, 0%, 12.9%, 63.5%)
CIE-LABlab(35.10, -25.16, 0.55)
CIE-LCHlch(35.10, 25.17, 178.74°)
OKLaboklab(43.15% -0.0725 0.0011)
OKLCHoklch(43.15% 0.072 179.2)
XYZxyz(5.6483, 8.5507, 9.1358)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D51 #5D121E
analogous
#125D2C #125D51 #12445D
triadic
#125D51 #51125D #5D5112
tetradic
#125D51 #2C125D #5D121E #445D12
square
#125D51 #2C125D #5D121E #445D12
split-complementary
#125D51 #5D1244 #5D2C12
monochromatic
#051A16 #082A24 #125D51 #1C907E #26C4AA

Accessibility & contrast

On white

7.75
#125D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#125D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D51
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D51#FFFFFF#000000##FFFFFF
##125D511.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595751
Deuteranopia (green-blind)
#4F5052
Tritanopia (blue-blind)
#005F59
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125d51;
/* rgb */ color: rgb(18, 93, 81);
/* oklch */ color: oklch(43.1% 0.072 179.2);
Tailwind
colors: {
  custom: {
    50: '#5e8b81',
    500: '#125d51',
    950: '#000000',
  },
}
SCSS
$custom: #125d51;
$custom-light: #5e8b81;
$custom-dark: #000000;
JSON
{
  "hex": "#125d51",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 81
  },
  "hsl": {
    "h": 170.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43146,
    "c": 0.07248,
    "h": 179.2
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#125D51
secondary
#953545
accent
#3D59EA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C0A
muted
#797D7C

Preview Lab

Preview with #125D51

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

Preview Lab → · Contrast checker → · Palette generator →

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