#125B4A#125B4A

#125B4A is a dark, moderate teal. Relative luminance 0.081; OKLCH L 42.3% C 0.074 H 173.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#125B4A
RGBrgb(18, 91, 74)
HSLhsl(166, 67%, 21%)
HSVhsv(166, 80%, 36%)
CMYKcmyk(80.2%, 0%, 18.7%, 64.3%)
CIE-LABlab(34.20, -26.25, 3.61)
CIE-LCHlch(34.20, 26.50, 172.17°)
OKLaboklab(42.34% -0.0739 0.0091)
OKLCHoklch(42.34% 0.075 173)
XYZxyz(5.2259, 8.1046, 7.7661)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B4A #5B1223
analogous
#125B26 #125B4A #12485B
triadic
#125B4A #4A125B #5B4A12
tetradic
#125B4A #26125B #5B1223 #485B12
square
#125B4A #26125B #5B1223 #485B12
split-complementary
#125B4A #5B1248 #5B2612
monochromatic
#051A15 #082820 #125B4A #1C8E74 #26C19D

Accessibility & contrast

On white

8.01
#125B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#125B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B4A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B4A#FFFFFF#000000##FFFFFF
##125B4A1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585449
Deuteranopia (green-blind)
#4E4E4B
Tritanopia (blue-blind)
#005C56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125b4a;
/* rgb */ color: rgb(18, 91, 74);
/* oklch */ color: oklch(42.3% 0.074 173.0);
Tailwind
colors: {
  custom: {
    50: '#5d8a7c',
    500: '#125b4a',
    950: '#000000',
  },
}
SCSS
$custom: #125b4a;
$custom-light: #5d8a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#125b4a",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 74
  },
  "hsl": {
    "h": 166.027,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42339,
    "c": 0.0745,
    "h": 173
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#125B4A
secondary
#93354B
accent
#3E66EA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125B4A

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

Preview Lab → · Contrast checker → · Palette generator →

#125B4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva