#125540#125540

#125540 is a dark, moderate teal. Relative luminance 0.070; OKLCH L 40.3% C 0.074 H 167.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#125540
RGBrgb(18, 85, 64)
HSLhsl(161, 65%, 20%)
HSVhsv(161, 79%, 33%)
CMYKcmyk(78.8%, 0%, 24.7%, 66.7%)
CIE-LABlab(31.80, -26.17, 6.44)
CIE-LCHlch(31.80, 26.96, 166.18°)
OKLaboklab(40.28% -0.0725 0.0165)
OKLCHoklch(40.28% 0.074 167.2)
XYZxyz(4.4229, 6.9952, 5.9666)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125540 #551227
analogous
#12551E #125540 #124855
triadic
#125540 #401255 #554012
tetradic
#125540 #1E1255 #551227 #485512
square
#125540 #1E1255 #551227 #485512
split-complementary
#125540 #551248 #551E12
monochromatic
#051913 #07221A #125540 #1D8866 #27BA8C

Accessibility & contrast

On white

8.75
#125540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#125540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125540
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125540#FFFFFF#000000##FFFFFF
##1255401.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F3F
Deuteranopia (green-blind)
#4A4841
Tritanopia (blue-blind)
#00554F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125540;
/* rgb */ color: rgb(18, 85, 64);
/* oklch */ color: oklch(40.3% 0.074 167.2);
Tailwind
colors: {
  custom: {
    50: '#5c8574',
    500: '#125540',
    950: '#000000',
  },
}
SCSS
$custom: #125540;
$custom-light: #5c8574;
$custom-dark: #000000;
JSON
{
  "hex": "#125540",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 64
  },
  "hsl": {
    "h": 161.194,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.07434,
    "h": 167.2
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#125540
secondary
#8E3551
accent
#4075E8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #125540

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

Preview Lab → · Contrast checker → · Palette generator →

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