#125E42#125E42

#125E42 is a dark, moderate teal. Relative luminance 0.085; OKLCH L 43.0% C 0.085 H 163.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#125E42
RGBrgb(18, 94, 66)
HSLhsl(158, 68%, 22%)
HSVhsv(158, 81%, 37%)
CMYKcmyk(80.9%, 0%, 29.8%, 63.1%)
CIE-LABlab(35.06, -29.83, 9.77)
CIE-LCHlch(35.06, 31.39, 161.87°)
OKLaboklab(42.97% -0.0817 0.0249)
OKLCHoklch(42.97% 0.085 163.1)
XYZxyz(5.2350, 8.5267, 6.5231)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E42 #5E122E
analogous
#125E1C #125E42 #12545E
triadic
#125E42 #42125E #5E4212
tetradic
#125E42 #1C125E #5E122E #545E12
square
#125E42 #1C125E #5E122E #545E12
split-complementary
#125E42 #5E1254 #5E1C12
monochromatic
#051A12 #082B1E #125E42 #1C9166 #26C58A

Accessibility & contrast

On white

7.76
#125E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#125E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E42
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E42#FFFFFF#000000##FFFFFF
##125E421.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125e42;
/* rgb */ color: rgb(18, 94, 66);
/* oklch */ color: oklch(43.0% 0.085 163.1);
Tailwind
colors: {
  custom: {
    50: '#5e8c76',
    500: '#125e42',
    950: '#000000',
  },
}
SCSS
$custom: #125e42;
$custom-light: #5e8c76;
$custom-dark: #000000;
JSON
{
  "hex": "#125e42",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 66
  },
  "hsl": {
    "h": 157.895,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.08537,
    "h": 163.1
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#125E42
secondary
#963559
accent
#3D7DEB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125E42

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

Preview Lab → · Contrast checker → · Palette generator →

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