#125242#125242

#125242 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.5% C 0.069 H 172.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#125242
RGBrgb(18, 82, 66)
HSLhsl(165, 64%, 20%)
HSVhsv(165, 78%, 32%)
CMYKcmyk(78%, 0%, 19.5%, 67.8%)
CIE-LABlab(30.77, -24.15, 3.72)
CIE-LCHlch(30.77, 24.43, 171.24°)
OKLaboklab(39.46% -0.0679 0.0095)
OKLCHoklch(39.46% 0.069 172.1)
XYZxyz(4.2496, 6.5560, 6.1947)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125242 #521222
analogous
#125222 #125242 #124252
triadic
#125242 #421252 #524212
tetradic
#125242 #221252 #521222 #425212
square
#125242 #221252 #521222 #425212
split-complementary
#125242 #521242 #522212
monochromatic
#061914 #07201A #125242 #1D846A #28B693

Accessibility & contrast

On white

9.09
#125242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#125242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125242
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125242#FFFFFF#000000##FFFFFF
##1252421.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C41
Deuteranopia (green-blind)
#474643
Tritanopia (blue-blind)
#00534D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125242;
/* rgb */ color: rgb(18, 82, 66);
/* oklch */ color: oklch(39.5% 0.069 172.1);
Tailwind
colors: {
  custom: {
    50: '#5b8376',
    500: '#125242',
    950: '#000000',
  },
}
SCSS
$custom: #125242;
$custom-light: #5b8376;
$custom-dark: #000000;
JSON
{
  "hex": "#125242",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 66
  },
  "hsl": {
    "h": 165,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39462,
    "c": 0.06855,
    "h": 172.1
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#125242
secondary
#8B354A
accent
#416AE7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #125242

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

Preview Lab → · Contrast checker → · Palette generator →

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