#125C40#125C40

#125C40 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.3% C 0.084 H 162.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#125C40
RGBrgb(18, 92, 64)
HSLhsl(157, 67%, 22%)
HSVhsv(157, 80%, 36%)
CMYKcmyk(80.4%, 0%, 30.4%, 63.9%)
CIE-LABlab(34.30, -29.44, 9.95)
CIE-LCHlch(34.30, 31.07, 161.33°)
OKLaboklab(42.34% -0.0805 0.0253)
OKLCHoklch(42.34% 0.084 162.5)
XYZxyz(5.0015, 8.1525, 6.1595)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C40 #5C122E
analogous
#125C1B #125C40 #12535C
triadic
#125C40 #40125C #5C4012
tetradic
#125C40 #1B125C #5C122E #535C12
square
#125C40 #1B125C #5C122E #535C12
split-complementary
#125C40 #5C1253 #5C1B12
monochromatic
#051A12 #08291C #125C40 #1C8F64 #26C287

Accessibility & contrast

On white

7.98
#125C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#125C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C40
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C40#FFFFFF#000000##FFFFFF
##125C401.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A553E
Deuteranopia (green-blind)
#514E42
Tritanopia (blue-blind)
#005C54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125c40;
/* rgb */ color: rgb(18, 92, 64);
/* oklch */ color: oklch(42.3% 0.084 162.5);
Tailwind
colors: {
  custom: {
    50: '#5d8b75',
    500: '#125c40',
    950: '#000000',
  },
}
SCSS
$custom: #125c40;
$custom-light: #5d8b75;
$custom-dark: #000000;
JSON
{
  "hex": "#125c40",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 64
  },
  "hsl": {
    "h": 157.297,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42336,
    "c": 0.08438,
    "h": 162.5
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#125C40
secondary
#943559
accent
#3E7FEA
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125C40

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

Preview Lab → · Contrast checker → · Palette generator →

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