#125A3F#125A3F

#125A3F is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.7% C 0.082 H 162.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#125A3F
RGBrgb(18, 90, 63)
HSLhsl(158, 67%, 21%)
HSVhsv(158, 80%, 35%)
CMYKcmyk(80%, 0%, 30%, 64.7%)
CIE-LABlab(33.56, -28.78, 9.54)
CIE-LCHlch(33.56, 30.32, 161.67°)
OKLaboklab(41.72% -0.0788 0.0243)
OKLCHoklch(41.72% 0.082 162.9)
XYZxyz(4.8023, 7.7992, 5.9540)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A3F #5A122D
analogous
#125A1B #125A3F #12515A
triadic
#125A3F #3F125A #5A3F12
tetradic
#125A3F #1B125A #5A122D #515A12
square
#125A3F #1B125A #5A122D #515A12
split-complementary
#125A3F #5A1251 #5A1B12
monochromatic
#051A12 #08271B #125A3F #1C8D63 #26C086

Accessibility & contrast

On white

8.20
#125A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#125A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A3F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A3F#FFFFFF#000000##FFFFFF
##125A3F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533D
Deuteranopia (green-blind)
#4F4C41
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125a3f;
/* rgb */ color: rgb(18, 90, 63);
/* oklch */ color: oklch(41.7% 0.082 162.9);
Tailwind
colors: {
  custom: {
    50: '#5d8974',
    500: '#125a3f',
    950: '#000000',
  },
}
SCSS
$custom: #125a3f;
$custom-light: #5d8974;
$custom-dark: #000000;
JSON
{
  "hex": "#125a3f",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 63
  },
  "hsl": {
    "h": 157.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41722,
    "c": 0.08243,
    "h": 162.9
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#125A3F
secondary
#933558
accent
#3E7EEA
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #125A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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