#125B4C#125B4C

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

Color values

HEX#125B4C
RGBrgb(18, 91, 76)
HSLhsl(168, 67%, 21%)
HSVhsv(168, 80%, 36%)
CMYKcmyk(80.2%, 0%, 16.5%, 64.3%)
CIE-LABlab(34.26, -25.67, 2.44)
CIE-LCHlch(34.26, 25.78, 174.57°)
OKLaboklab(42.4% -0.0729 0.0061)
OKLCHoklch(42.4% 0.073 175.2)
XYZxyz(5.2944, 8.1319, 8.1267)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B4C #5B1221
analogous
#125B28 #125B4C #12465B
triadic
#125B4C #4C125B #5B4C12
tetradic
#125B4C #28125B #5B1221 #465B12
square
#125B4C #28125B #5B1221 #465B12
split-complementary
#125B4C #5B1246 #5B2812
monochromatic
#051A15 #082821 #125B4C #1C8E77 #26C1A1

Accessibility & contrast

On white

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

On black

2.63
#125B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##125B4C#FFFFFF#000000##FFFFFF
##125B4C1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57554B
Deuteranopia (green-blind)
#4E4E4D
Tritanopia (blue-blind)
#005C57
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125b4c;
/* rgb */ color: rgb(18, 91, 76);
/* oklch */ color: oklch(42.4% 0.073 175.2);
Tailwind
colors: {
  custom: {
    50: '#5e8a7e',
    500: '#125b4c',
    950: '#000000',
  },
}
SCSS
$custom: #125b4c;
$custom-light: #5e8a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#125b4c",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 76
  },
  "hsl": {
    "h": 167.671,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.07312,
    "h": 175.2
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#125B4C
secondary
#933549
accent
#3E61EA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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