#125B47#125B47

#125B47 is a dark, moderate teal. Relative luminance 0.081; OKLCH L 42.2% C 0.077 H 169.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#125B47
RGBrgb(18, 91, 71)
HSLhsl(164, 67%, 21%)
HSVhsv(164, 80%, 36%)
CMYKcmyk(80.2%, 0%, 22%, 64.3%)
CIE-LABlab(34.12, -27.10, 5.36)
CIE-LCHlch(34.12, 27.63, 168.81°)
OKLaboklab(42.25% -0.0756 0.0137)
OKLCHoklch(42.25% 0.077 169.7)
XYZxyz(5.1273, 8.0651, 7.2465)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B47 #5B1226
analogous
#125B23 #125B47 #124B5B
triadic
#125B47 #47125B #5B4712
tetradic
#125B47 #23125B #5B1226 #4B5B12
square
#125B47 #23125B #5B1226 #4B5B12
split-complementary
#125B47 #5B124B #5B2312
monochromatic
#051A14 #08281F #125B47 #1C8E6F #26C197

Accessibility & contrast

On white

8.04
#125B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#125B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B47
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B47#FFFFFF#000000##FFFFFF
##125B471.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585446
Deuteranopia (green-blind)
#4F4D48
Tritanopia (blue-blind)
#005C55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125b47;
/* rgb */ color: rgb(18, 91, 71);
/* oklch */ color: oklch(42.2% 0.077 169.7);
Tailwind
colors: {
  custom: {
    50: '#5d8a7a',
    500: '#125b47',
    950: '#000000',
  },
}
SCSS
$custom: #125b47;
$custom-light: #5d8a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#125b47",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 71
  },
  "hsl": {
    "h": 163.562,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42245,
    "c": 0.07679,
    "h": 169.7
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#125B47
secondary
#93354F
accent
#3E6DEA
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125B47

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

Preview Lab → · Contrast checker → · Palette generator →

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