#125B4F#125B4F

#125B4F is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.5% C 0.071 H 178.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#125B4F
RGBrgb(18, 91, 79)
HSLhsl(170, 67%, 21%)
HSVhsv(170, 80%, 36%)
CMYKcmyk(80.2%, 0%, 13.2%, 64.3%)
CIE-LABlab(34.34, -24.77, 0.69)
CIE-LCHlch(34.34, 24.78, 178.39°)
OKLaboklab(42.51% -0.0713 0.0014)
OKLCHoklch(42.51% 0.071 178.8)
XYZxyz(5.4011, 8.1746, 8.6888)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B4F #5B121E
analogous
#125B2B #125B4F #12435B
triadic
#125B4F #4F125B #5B4F12
tetradic
#125B4F #2B125B #5B121E #435B12
square
#125B4F #2B125B #5B121E #435B12
split-complementary
#125B4F #5B1243 #5B2B12
monochromatic
#051A16 #082823 #125B4F #1C8E7B #26C1A8

Accessibility & contrast

On white

7.97
#125B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#125B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B4F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B4F#FFFFFF#000000##FFFFFF
##125B4F1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57554F
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#005D57
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125b4f;
/* rgb */ color: rgb(18, 91, 79);
/* oklch */ color: oklch(42.5% 0.071 178.8);
Tailwind
colors: {
  custom: {
    50: '#5e8a80',
    500: '#125b4f',
    950: '#000000',
  },
}
SCSS
$custom: #125b4f;
$custom-light: #5e8a80;
$custom-dark: #000000;
JSON
{
  "hex": "#125b4f",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 79
  },
  "hsl": {
    "h": 170.137,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42505,
    "c": 0.07128,
    "h": 178.8
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#125B4F
secondary
#933545
accent
#3E5AEA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C0A
muted
#797D7C

Preview Lab

Preview with #125B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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