#125440#125440

#125440 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 40.0% C 0.073 H 168.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#125440
RGBrgb(18, 84, 64)
HSLhsl(162, 65%, 20%)
HSVhsv(162, 79%, 33%)
CMYKcmyk(78.6%, 0%, 23.8%, 67.1%)
CIE-LABlab(31.44, -25.69, 5.93)
CIE-LCHlch(31.44, 26.37, 167.00°)
OKLaboklab(39.99% -0.0713 0.0152)
OKLCHoklch(39.99% 0.073 168)
XYZxyz(4.3447, 6.8389, 5.9406)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125440 #541226
analogous
#12541F #125440 #124754
triadic
#125440 #401254 #544012
tetradic
#125440 #1F1254 #541226 #475412
square
#125440 #1F1254 #541226 #475412
split-complementary
#125440 #541247 #541F12
monochromatic
#051913 #07221A #125440 #1D8666 #28B98D

Accessibility & contrast

On white

8.87
#125440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#125440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125440
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125440#FFFFFF#000000##FFFFFF
##1254401.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3F
Deuteranopia (green-blind)
#494741
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125440;
/* rgb */ color: rgb(18, 84, 64);
/* oklch */ color: oklch(40.0% 0.073 168.0);
Tailwind
colors: {
  custom: {
    50: '#5b8574',
    500: '#125440',
    950: '#000000',
  },
}
SCSS
$custom: #125440;
$custom-light: #5b8574;
$custom-dark: #000000;
JSON
{
  "hex": "#125440",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 64
  },
  "hsl": {
    "h": 161.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.07293,
    "h": 168
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#125440
secondary
#8D3550
accent
#4073E8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #125440

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

Preview Lab → · Contrast checker → · Palette generator →

#125440 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva