#125F40#125F40

#125F40 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.2% C 0.089 H 160.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#125F40
RGBrgb(18, 95, 64)
HSLhsl(156, 68%, 22%)
HSVhsv(156, 81%, 37%)
CMYKcmyk(81.1%, 0%, 32.6%, 62.7%)
CIE-LABlab(35.37, -30.79, 11.42)
CIE-LCHlch(35.37, 32.84, 159.65°)
OKLaboklab(43.21% -0.0838 0.029)
OKLCHoklch(43.21% 0.089 160.9)
XYZxyz(5.2665, 8.6826, 6.2478)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F40 #5F1231
analogous
#125F19 #125F40 #12585F
triadic
#125F40 #40125F #5F4012
tetradic
#125F40 #19125F #5F1231 #585F12
square
#125F40 #19125F #5F1231 #585F12
split-complementary
#125F40 #5F1258 #5F1912
monochromatic
#051A11 #082C1D #125F40 #1C9263 #25C685

Accessibility & contrast

On white

7.67
#125F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125F40
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F40#FFFFFF#000000##FFFFFF
##125F401.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E573E
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f40;
/* rgb */ color: rgb(18, 95, 64);
/* oklch */ color: oklch(43.2% 0.089 160.9);
Tailwind
colors: {
  custom: {
    50: '#5e8d75',
    500: '#125f40',
    950: '#000000',
  },
}
SCSS
$custom: #125f40;
$custom-light: #5e8d75;
$custom-dark: #000000;
JSON
{
  "hex": "#125f40",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 155.844,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.08871,
    "h": 160.9
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#125F40
secondary
#97365D
accent
#3D83EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125F40

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

Preview Lab → · Contrast checker → · Palette generator →

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