#125042#125042

#125042 is a dark, moderate teal. Relative luminance 0.063; OKLCH L 38.9% C 0.066 H 174.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#125042
RGBrgb(18, 80, 66)
HSLhsl(166, 63%, 19%)
HSVhsv(166, 78%, 31%)
CMYKcmyk(77.5%, 0%, 17.5%, 68.6%)
CIE-LABlab(30.06, -23.15, 2.69)
CIE-LCHlch(30.06, 23.30, 173.37°)
OKLaboklab(38.88% -0.0655 0.0068)
OKLCHoklch(38.88% 0.066 174.1)
XYZxyz(4.1010, 6.2588, 6.1451)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125042 #501220
analogous
#125023 #125042 #123F50
triadic
#125042 #421250 #504212
tetradic
#125042 #231250 #501220 #3F5012
square
#125042 #231250 #501220 #3F5012
split-complementary
#125042 #50123F #502312
monochromatic
#061915 #071E19 #125042 #1D826B #28B494

Accessibility & contrast

On white

9.33
#125042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#125042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125042
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125042#FFFFFF#000000##FFFFFF
##1250421.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A41
Deuteranopia (green-blind)
#454443
Tritanopia (blue-blind)
#00514C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125042;
/* rgb */ color: rgb(18, 80, 66);
/* oklch */ color: oklch(38.9% 0.066 174.1);
Tailwind
colors: {
  custom: {
    50: '#5b8176',
    500: '#125042',
    950: '#000000',
  },
}
SCSS
$custom: #125042;
$custom-light: #5b8176;
$custom-dark: #000000;
JSON
{
  "hex": "#125042",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 166.452,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38875,
    "c": 0.06589,
    "h": 174.1
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#125042
secondary
#893548
accent
#4167E6
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #125042

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

Preview Lab → · Contrast checker → · Palette generator →

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