#125E4F#125E4F

#125E4F is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.4% C 0.075 H 175.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#125E4F
RGBrgb(18, 94, 79)
HSLhsl(168, 68%, 22%)
HSVhsv(168, 81%, 37%)
CMYKcmyk(80.9%, 0%, 16%, 63.1%)
CIE-LABlab(35.40, -26.25, 2.22)
CIE-LCHlch(35.40, 26.34, 175.16°)
OKLaboklab(43.36% -0.0747 0.0055)
OKLCHoklch(43.36% 0.075 175.8)
XYZxyz(5.6627, 8.6978, 8.7760)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E4F #5E1221
analogous
#125E29 #125E4F #12475E
triadic
#125E4F #4F125E #5E4F12
tetradic
#125E4F #29125E #5E1221 #475E12
square
#125E4F #29125E #5E1221 #475E12
split-complementary
#125E4F #5E1247 #5E2912
monochromatic
#051A16 #082B24 #125E4F #1C917A #26C5A5

Accessibility & contrast

On white

7.66
#125E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#125E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E4F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E4F#FFFFFF#000000##FFFFFF
##125E4F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A584E
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#005F5A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125e4f;
/* rgb */ color: rgb(18, 94, 79);
/* oklch */ color: oklch(43.4% 0.075 175.8);
Tailwind
colors: {
  custom: {
    50: '#5e8c80',
    500: '#125e4f',
    950: '#000000',
  },
}
SCSS
$custom: #125e4f;
$custom-light: #5e8c80;
$custom-dark: #000000;
JSON
{
  "hex": "#125e4f",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 79
  },
  "hsl": {
    "h": 168.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43365,
    "c": 0.07486,
    "h": 175.8
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#125E4F
secondary
#963549
accent
#3D5FEB
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C0A
muted
#797D7C

Preview Lab

Preview with #125E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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