#125A3C#125A3C

#125A3C is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.6% C 0.085 H 160.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#125A3C
RGBrgb(18, 90, 60)
HSLhsl(155, 67%, 21%)
HSVhsv(155, 80%, 35%)
CMYKcmyk(80%, 0%, 33.3%, 64.7%)
CIE-LABlab(33.49, -29.54, 11.29)
CIE-LCHlch(33.49, 31.62, 159.08°)
OKLaboklab(41.64% -0.0804 0.0286)
OKLCHoklch(41.64% 0.085 160.4)
XYZxyz(4.7207, 7.7666, 5.5244)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A3C #5A1230
analogous
#125A18 #125A3C #12545A
triadic
#125A3C #3C125A #5A3C12
tetradic
#125A3C #18125A #5A1230 #545A12
square
#125A3C #18125A #5A1230 #545A12
split-complementary
#125A3C #5A1254 #5A1812
monochromatic
#051A11 #08271A #125A3C #1C8D5E #26C080

Accessibility & contrast

On white

8.22
#125A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#125A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A3C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A3C#FFFFFF#000000##FFFFFF
##125A3C1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59533A
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#005A52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125a3c;
/* rgb */ color: rgb(18, 90, 60);
/* oklch */ color: oklch(41.6% 0.085 160.4);
Tailwind
colors: {
  custom: {
    50: '#5d8971',
    500: '#125a3c',
    950: '#000000',
  },
}
SCSS
$custom: #125a3c;
$custom-light: #5d8971;
$custom-dark: #000000;
JSON
{
  "hex": "#125a3c",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 60
  },
  "hsl": {
    "h": 155,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41642,
    "c": 0.08534,
    "h": 160.4
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#125A3C
secondary
#93355C
accent
#3E86EA
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #125A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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