#125138#125138

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

Color values

HEX#125138
RGBrgb(18, 81, 56)
HSLhsl(156, 64%, 19%)
HSVhsv(156, 78%, 32%)
CMYKcmyk(77.8%, 0%, 30.9%, 68.2%)
CIE-LABlab(30.15, -26.40, 9.17)
CIE-LCHlch(30.15, 27.95, 160.85°)
OKLaboklab(38.87% -0.0722 0.0233)
OKLCHoklch(38.87% 0.076 162.1)
XYZxyz(3.9053, 6.2985, 4.7505)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125138 #51122B
analogous
#125118 #125138 #124B51
triadic
#125138 #381251 #513812
tetradic
#125138 #181251 #51122B #4B5112
square
#125138 #181251 #51122B #4B5112
split-complementary
#125138 #51124B #511812
monochromatic
#061911 #071F15 #125138 #1D835B #28B57D

Accessibility & contrast

On white

9.29
#125138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125138
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125138#FFFFFF#000000##FFFFFF
##1251381.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A37
Deuteranopia (green-blind)
#48453A
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125138;
/* rgb */ color: rgb(18, 81, 56);
/* oklch */ color: oklch(38.9% 0.076 162.1);
Tailwind
colors: {
  custom: {
    50: '#5a826e',
    500: '#125138',
    950: '#000000',
  },
}
SCSS
$custom: #125138;
$custom-light: #5a826e;
$custom-dark: #000000;
JSON
{
  "hex": "#125138",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 156.19,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38867,
    "c": 0.0759,
    "h": 162.1
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#125138
secondary
#8A3557
accent
#4183E7
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #125138

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

Preview Lab → · Contrast checker → · Palette generator →

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