#125F4E#125F4E

#125F4E is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.6% C 0.077 H 173.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#125F4E
RGBrgb(18, 95, 78)
HSLhsl(167, 68%, 22%)
HSVhsv(167, 81%, 37%)
CMYKcmyk(81.1%, 0%, 17.9%, 62.7%)
CIE-LABlab(35.72, -27.03, 3.31)
CIE-LCHlch(35.72, 27.23, 173.03°)
OKLaboklab(43.62% -0.0763 0.0083)
OKLCHoklch(43.62% 0.077 173.8)
XYZxyz(5.7161, 8.8624, 8.6156)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F4E #5F1223
analogous
#125F27 #125F4E #124A5F
triadic
#125F4E #4E125F #5F4E12
tetradic
#125F4E #27125F #5F1223 #4A5F12
square
#125F4E #27125F #5F1223 #4A5F12
split-complementary
#125F4E #5F124A #5F2712
monochromatic
#051A15 #082C24 #125F4E #1C9278 #25C6A2

Accessibility & contrast

On white

7.57
#125F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125F4E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F4E#FFFFFF#000000##FFFFFF
##125F4E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125f4e;
/* rgb */ color: rgb(18, 95, 78);
/* oklch */ color: oklch(43.6% 0.077 173.8);
Tailwind
colors: {
  custom: {
    50: '#5f8d7f',
    500: '#125f4e',
    950: '#000000',
  },
}
SCSS
$custom: #125f4e;
$custom-light: #5f8d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#125f4e",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 78
  },
  "hsl": {
    "h": 166.753,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.07677,
    "h": 173.8
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#125F4E
secondary
#97364B
accent
#3D63EB
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C0A
muted
#797D7C

Preview Lab

Preview with #125F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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