#125E40#125E40

#125E40 is a dark, moderate teal. Relative luminance 0.085; OKLCH L 42.9% C 0.087 H 161.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#125E40
RGBrgb(18, 94, 64)
HSLhsl(156, 68%, 22%)
HSVhsv(156, 81%, 37%)
CMYKcmyk(80.9%, 0%, 31.9%, 63.1%)
CIE-LABlab(35.01, -30.34, 10.93)
CIE-LCHlch(35.01, 32.25, 160.19°)
OKLaboklab(42.92% -0.0827 0.0278)
OKLCHoklch(42.92% 0.087 161.5)
XYZxyz(5.1770, 8.5036, 6.2180)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E40 #5E1230
analogous
#125E1A #125E40 #12565E
triadic
#125E40 #40125E #5E4012
tetradic
#125E40 #1A125E #5E1230 #565E12
square
#125E40 #1A125E #5E1230 #565E12
split-complementary
#125E40 #5E1256 #5E1A12
monochromatic
#051A11 #082B1D #125E40 #1C9163 #26C586

Accessibility & contrast

On white

7.78
#125E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#125E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E40
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E40#FFFFFF#000000##FFFFFF
##125E401.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563E
Deuteranopia (green-blind)
#535042
Tritanopia (blue-blind)
#005E56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e40;
/* rgb */ color: rgb(18, 94, 64);
/* oklch */ color: oklch(42.9% 0.087 161.5);
Tailwind
colors: {
  custom: {
    50: '#5e8c75',
    500: '#125e40',
    950: '#000000',
  },
}
SCSS
$custom: #125e40;
$custom-light: #5e8c75;
$custom-dark: #000000;
JSON
{
  "hex": "#125e40",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 64
  },
  "hsl": {
    "h": 156.316,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42921,
    "c": 0.08727,
    "h": 161.5
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#125E40
secondary
#96355C
accent
#3D82EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125E40

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

Preview Lab → · Contrast checker → · Palette generator →

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