#125139#125139

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

Color values

HEX#125139
RGBrgb(18, 81, 57)
HSLhsl(157, 64%, 19%)
HSVhsv(157, 78%, 32%)
CMYKcmyk(77.8%, 0%, 29.6%, 68.2%)
CIE-LABlab(30.18, -26.14, 8.57)
CIE-LCHlch(30.18, 27.51, 161.85°)
OKLaboklab(38.9% -0.0717 0.0219)
OKLCHoklch(38.9% 0.075 163)
XYZxyz(3.9300, 6.3084, 4.8806)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125139 #51122A
analogous
#12511A #125139 #124A51
triadic
#125139 #391251 #513912
tetradic
#125139 #1A1251 #51122A #4A5112
square
#125139 #1A1251 #51122A #4A5112
split-complementary
#125139 #51124A #511A12
monochromatic
#061912 #071F16 #125139 #1D835C #28B57F

Accessibility & contrast

On white

9.28
#125139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#125139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125139
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125139#FFFFFF#000000##FFFFFF
##1251391.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B38
Deuteranopia (green-blind)
#47453B
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125139;
/* rgb */ color: rgb(18, 81, 57);
/* oklch */ color: oklch(38.9% 0.075 163.0);
Tailwind
colors: {
  custom: {
    50: '#5a826f',
    500: '#125139',
    950: '#000000',
  },
}
SCSS
$custom: #125139;
$custom-light: #5a826f;
$custom-dark: #000000;
JSON
{
  "hex": "#125139",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 57
  },
  "hsl": {
    "h": 157.143,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38895,
    "c": 0.07493,
    "h": 163
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#125139
secondary
#8A3555
accent
#4180E7
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #125139

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

Preview Lab → · Contrast checker → · Palette generator →

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