#125A42#125A42

#125A42 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.8% C 0.080 H 165.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#125A42
RGBrgb(18, 90, 66)
HSLhsl(160, 67%, 21%)
HSVhsv(160, 80%, 35%)
CMYKcmyk(80%, 0%, 26.7%, 64.7%)
CIE-LABlab(33.63, -28.00, 7.78)
CIE-LCHlch(33.63, 29.06, 164.46°)
OKLaboklab(41.81% -0.0771 0.0199)
OKLCHoklch(41.81% 0.08 165.5)
XYZxyz(4.8884, 7.8337, 6.4076)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A42 #5A122A
analogous
#125A1E #125A42 #124E5A
triadic
#125A42 #42125A #5A4212
tetradic
#125A42 #1E125A #5A122A #4E5A12
square
#125A42 #1E125A #5A122A #4E5A12
split-complementary
#125A42 #5A124E #5A1E12
monochromatic
#051A13 #08271D #125A42 #1C8D67 #26C08D

Accessibility & contrast

On white

8.18
#125A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#125A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A42
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A42#FFFFFF#000000##FFFFFF
##125A421.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585341
Deuteranopia (green-blind)
#4F4C44
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125a42;
/* rgb */ color: rgb(18, 90, 66);
/* oklch */ color: oklch(41.8% 0.080 165.5);
Tailwind
colors: {
  custom: {
    50: '#5d8976',
    500: '#125a42',
    950: '#000000',
  },
}
SCSS
$custom: #125a42;
$custom-light: #5d8976;
$custom-dark: #000000;
JSON
{
  "hex": "#125a42",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 160,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41806,
    "c": 0.07966,
    "h": 165.5
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#125A42
secondary
#933554
accent
#3E77EA
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #125A42

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

Preview Lab → · Contrast checker → · Palette generator →

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