#125F45#125F45

#125F45 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.3% C 0.084 H 165.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#125F45
RGBrgb(18, 95, 69)
HSLhsl(160, 68%, 22%)
HSVhsv(160, 81%, 37%)
CMYKcmyk(81.1%, 0%, 27.4%, 62.7%)
CIE-LABlab(35.48, -29.51, 8.52)
CIE-LCHlch(35.48, 30.72, 163.89°)
OKLaboklab(43.35% -0.0812 0.0218)
OKLCHoklch(43.35% 0.084 165)
XYZxyz(5.4152, 8.7420, 7.0311)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F45 #5F122C
analogous
#125F1E #125F45 #12535F
triadic
#125F45 #45125F #5F4512
tetradic
#125F45 #1E125F #5F122C #535F12
square
#125F45 #1E125F #5F122C #535F12
split-complementary
#125F45 #5F1253 #5F1E12
monochromatic
#051A13 #082C20 #125F45 #1C926A #25C690

Accessibility & contrast

On white

7.64
#125F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#125F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F45
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F45#FFFFFF#000000##FFFFFF
##125F451.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5844
Deuteranopia (green-blind)
#535147
Tritanopia (blue-blind)
#005F58
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f45;
/* rgb */ color: rgb(18, 95, 69);
/* oklch */ color: oklch(43.3% 0.084 165.0);
Tailwind
colors: {
  custom: {
    50: '#5e8d78',
    500: '#125f45',
    950: '#000000',
  },
}
SCSS
$custom: #125f45;
$custom-light: #5e8d78;
$custom-dark: #000000;
JSON
{
  "hex": "#125f45",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 69
  },
  "hsl": {
    "h": 159.74,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43348,
    "c": 0.08403,
    "h": 165
  },
  "luminance": 0.08743
}

Semantic roles & 50–950 ramp

primary
#125F45
secondary
#973657
accent
#3D78EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125F45

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

Preview Lab → · Contrast checker → · Palette generator →

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