#125C4F#125C4F

#125C4F is a dark, moderate teal. Relative luminance 0.083; OKLCH L 42.8% C 0.072 H 177.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#125C4F
RGBrgb(18, 92, 79)
HSLhsl(169, 67%, 22%)
HSVhsv(169, 80%, 36%)
CMYKcmyk(80.4%, 0%, 14.1%, 63.9%)
CIE-LABlab(34.69, -25.27, 1.20)
CIE-LCHlch(34.69, 25.30, 177.27°)
OKLaboklab(42.79% -0.0724 0.0028)
OKLCHoklch(42.79% 0.072 177.8)
XYZxyz(5.4872, 8.3467, 8.7175)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C4F #5C121F
analogous
#125C2A #125C4F #12445C
triadic
#125C4F #4F125C #5C4F12
tetradic
#125C4F #2A125C #5C121F #445C12
square
#125C4F #2A125C #5C121F #445C12
split-complementary
#125C4F #5C1244 #5C2A12
monochromatic
#051A16 #082923 #125C4F #1C8F7B #26C2A7

Accessibility & contrast

On white

7.87
#125C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#125C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C4F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C4F#FFFFFF#000000##FFFFFF
##125C4F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58564E
Deuteranopia (green-blind)
#4E4F50
Tritanopia (blue-blind)
#005D58
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125c4f;
/* rgb */ color: rgb(18, 92, 79);
/* oklch */ color: oklch(42.8% 0.072 177.8);
Tailwind
colors: {
  custom: {
    50: '#5e8a80',
    500: '#125c4f',
    950: '#000000',
  },
}
SCSS
$custom: #125c4f;
$custom-light: #5e8a80;
$custom-dark: #000000;
JSON
{
  "hex": "#125c4f",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 79
  },
  "hsl": {
    "h": 169.459,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.07245,
    "h": 177.8
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#125C4F
secondary
#943546
accent
#3E5CEA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C0A
muted
#797D7C

Preview Lab

Preview with #125C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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