#125944#125944

#125944 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.6% C 0.077 H 168.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#125944
RGBrgb(18, 89, 68)
HSLhsl(162, 66%, 21%)
HSVhsv(162, 80%, 35%)
CMYKcmyk(79.8%, 0%, 23.6%, 65.1%)
CIE-LABlab(33.33, -26.98, 6.11)
CIE-LCHlch(33.33, 27.67, 167.25°)
OKLaboklab(41.57% -0.0749 0.0156)
OKLCHoklch(41.57% 0.077 168.2)
XYZxyz(4.8647, 7.6901, 6.6957)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125944 #591227
analogous
#125921 #125944 #124A59
triadic
#125944 #441259 #594412
tetradic
#125944 #211259 #591227 #4A5912
square
#125944 #211259 #591227 #4A5912
split-complementary
#125944 #59124A #592112
monochromatic
#051913 #08261D #125944 #1C8C6B #27BF92

Accessibility & contrast

On white

8.27
#125944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#125944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125944
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125944#FFFFFF#000000##FFFFFF
##1259441.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575243
Deuteranopia (green-blind)
#4D4C45
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125944;
/* rgb */ color: rgb(18, 89, 68);
/* oklch */ color: oklch(41.6% 0.077 168.2);
Tailwind
colors: {
  custom: {
    50: '#5d8877',
    500: '#125944',
    950: '#000000',
  },
}
SCSS
$custom: #125944;
$custom-light: #5d8877;
$custom-dark: #000000;
JSON
{
  "hex": "#125944",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 68
  },
  "hsl": {
    "h": 162.254,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41572,
    "c": 0.07652,
    "h": 168.2
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#125944
secondary
#923551
accent
#3F71E9
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #125944

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

Preview Lab → · Contrast checker → · Palette generator →

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