#125F42#125F42

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

Color values

HEX#125F42
RGBrgb(18, 95, 66)
HSLhsl(157, 68%, 22%)
HSVhsv(157, 81%, 37%)
CMYKcmyk(81.1%, 0%, 30.5%, 62.7%)
CIE-LABlab(35.41, -30.29, 10.26)
CIE-LCHlch(35.41, 31.98, 161.28°)
OKLaboklab(43.27% -0.0828 0.0261)
OKLCHoklch(43.27% 0.087 162.5)
XYZxyz(5.3245, 8.7057, 6.5530)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F42 #5F122F
analogous
#125F1C #125F42 #12565F
triadic
#125F42 #42125F #5F4212
tetradic
#125F42 #1C125F #5F122F #565F12
square
#125F42 #1C125F #5F122F #565F12
split-complementary
#125F42 #5F1256 #5F1C12
monochromatic
#051A12 #082C1E #125F42 #1C9266 #25C689

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125F42#FFFFFF#000000##FFFFFF
##125F421.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)
#5D5740
Deuteranopia (green-blind)
#545044
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f42;
/* rgb */ color: rgb(18, 95, 66);
/* oklch */ color: oklch(43.3% 0.087 162.5);
Tailwind
colors: {
  custom: {
    50: '#5e8d76',
    500: '#125f42',
    950: '#000000',
  },
}
SCSS
$custom: #125f42;
$custom-light: #5e8d76;
$custom-dark: #000000;
JSON
{
  "hex": "#125f42",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 66
  },
  "hsl": {
    "h": 157.403,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43266,
    "c": 0.0868,
    "h": 162.5
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#125F42
secondary
#97365A
accent
#3D7EEB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125F42

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

Preview Lab → · Contrast checker → · Palette generator →

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