#125B4B#125B4B

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

Color values

HEX#125B4B
RGBrgb(18, 91, 75)
HSLhsl(167, 67%, 21%)
HSVhsv(167, 80%, 36%)
CMYKcmyk(80.2%, 0%, 17.6%, 64.3%)
CIE-LABlab(34.23, -25.96, 3.02)
CIE-LCHlch(34.23, 26.14, 173.35°)
OKLaboklab(42.37% -0.0734 0.0076)
OKLCHoklch(42.37% 0.074 174.1)
XYZxyz(5.2599, 8.1181, 7.9450)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B4B #5B1222
analogous
#125B27 #125B4B #12475B
triadic
#125B4B #4B125B #5B4B12
tetradic
#125B4B #27125B #5B1222 #475B12
square
#125B4B #27125B #5B1222 #475B12
split-complementary
#125B4B #5B1247 #5B2712
monochromatic
#051A15 #082821 #125B4B #1C8E75 #26C19F

Accessibility & contrast

On white

8.00
#125B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125B4B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B4B#FFFFFF#000000##FFFFFF
##125B4B1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58554A
Deuteranopia (green-blind)
#4E4E4C
Tritanopia (blue-blind)
#005C56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125b4b;
/* rgb */ color: rgb(18, 91, 75);
/* oklch */ color: oklch(42.4% 0.074 174.1);
Tailwind
colors: {
  custom: {
    50: '#5d8a7d',
    500: '#125b4b',
    950: '#000000',
  },
}
SCSS
$custom: #125b4b;
$custom-light: #5d8a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#125b4b",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 75
  },
  "hsl": {
    "h": 166.849,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42371,
    "c": 0.0738,
    "h": 174.1
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#125B4B
secondary
#93354A
accent
#3E64EA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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