#125F4B#125F4B

#125F4B is a dark, moderate teal. Relative luminance 0.088; OKLCH L 43.5% C 0.079 H 170.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#125F4B
RGBrgb(18, 95, 75)
HSLhsl(164, 68%, 22%)
HSVhsv(164, 81%, 37%)
CMYKcmyk(81.1%, 0%, 21.1%, 62.7%)
CIE-LABlab(35.64, -27.88, 5.04)
CIE-LCHlch(35.64, 28.33, 169.74°)
OKLaboklab(43.53% -0.0779 0.0129)
OKLCHoklch(43.53% 0.079 170.6)
XYZxyz(5.6110, 8.8203, 8.0620)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F4B #5F1226
analogous
#125F25 #125F4B #124D5F
triadic
#125F4B #4B125F #5F4B12
tetradic
#125F4B #25125F #5F1226 #4D5F12
square
#125F4B #25125F #5F1226 #4D5F12
split-complementary
#125F4B #5F124D #5F2512
monochromatic
#051A14 #082C22 #125F4B #1C9274 #25C69C

Accessibility & contrast

On white

7.60
#125F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#125F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F4B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F4B#FFFFFF#000000##FFFFFF
##125F4B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C584A
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#006059
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #125f4b;
/* rgb */ color: rgb(18, 95, 75);
/* oklch */ color: oklch(43.5% 0.079 170.6);
Tailwind
colors: {
  custom: {
    50: '#5e8d7d',
    500: '#125f4b',
    950: '#000000',
  },
}
SCSS
$custom: #125f4b;
$custom-light: #5e8d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#125f4b",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 75
  },
  "hsl": {
    "h": 164.416,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.07897,
    "h": 170.6
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#125F4B
secondary
#97364F
accent
#3D6AEB
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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