#125A3A#125A3A

#125A3A is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.6% C 0.087 H 158.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#125A3A
RGBrgb(18, 90, 58)
HSLhsl(153, 67%, 21%)
HSVhsv(153, 80%, 35%)
CMYKcmyk(80%, 0%, 35.6%, 64.7%)
CIE-LABlab(33.45, -30.02, 12.46)
CIE-LCHlch(33.45, 32.50, 157.47°)
OKLaboklab(41.59% -0.0815 0.0315)
OKLCHoklch(41.59% 0.087 158.9)
XYZxyz(4.6689, 7.7459, 5.2512)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A3A #5A1232
analogous
#125A16 #125A3A #12565A
triadic
#125A3A #3A125A #5A3A12
tetradic
#125A3A #16125A #5A1232 #565A12
square
#125A3A #16125A #5A1232 #565A12
split-complementary
#125A3A #5A1256 #5A1612
monochromatic
#051A10 #082719 #125A3A #1C8D5B #26C07C

Accessibility & contrast

On white

8.24
#125A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125A3A
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A3A#FFFFFF#000000##FFFFFF
##125A3A1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595238
Deuteranopia (green-blind)
#504C3C
Tritanopia (blue-blind)
#005952
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125a3a;
/* rgb */ color: rgb(18, 90, 58);
/* oklch */ color: oklch(41.6% 0.087 158.9);
Tailwind
colors: {
  custom: {
    50: '#5d8970',
    500: '#125a3a',
    950: '#000000',
  },
}
SCSS
$custom: #125a3a;
$custom-light: #5d8970;
$custom-dark: #000000;
JSON
{
  "hex": "#125a3a",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 58
  },
  "hsl": {
    "h": 153.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41591,
    "c": 0.08734,
    "h": 158.9
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#125A3A
secondary
#93355F
accent
#3E8AEA
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #125A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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