#125F4C#125F4C

#125F4C is a dark, moderate teal. Relative luminance 0.088; OKLCH L 43.6% C 0.078 H 171.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#125F4C
RGBrgb(18, 95, 76)
HSLhsl(165, 68%, 22%)
HSVhsv(165, 81%, 37%)
CMYKcmyk(81.1%, 0%, 20%, 62.7%)
CIE-LABlab(35.66, -27.60, 4.46)
CIE-LCHlch(35.66, 27.96, 170.81°)
OKLaboklab(43.56% -0.0774 0.0114)
OKLCHoklch(43.56% 0.078 171.6)
XYZxyz(5.6455, 8.8341, 8.2437)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F4C #5F1225
analogous
#125F26 #125F4C #124C5F
triadic
#125F4C #4C125F #5F4C12
tetradic
#125F4C #26125F #5F1225 #4C5F12
square
#125F4C #26125F #5F1225 #4C5F12
split-complementary
#125F4C #5F124C #5F2612
monochromatic
#051A15 #082C23 #125F4C #1C9275 #25C69E

Accessibility & contrast

On white

7.59
#125F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#125F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F4C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F4C#FFFFFF#000000##FFFFFF
##125F4C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C584B
Deuteranopia (green-blind)
#52514D
Tritanopia (blue-blind)
#00605A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #125f4c;
/* rgb */ color: rgb(18, 95, 76);
/* oklch */ color: oklch(43.6% 0.078 171.6);
Tailwind
colors: {
  custom: {
    50: '#5e8d7e',
    500: '#125f4c',
    950: '#000000',
  },
}
SCSS
$custom: #125f4c;
$custom-light: #5e8d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#125f4c",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 76
  },
  "hsl": {
    "h": 165.195,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43556,
    "c": 0.07822,
    "h": 171.6
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#125F4C
secondary
#97364E
accent
#3D68EB
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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