#125D3F#125D3F

#125D3F is a dark, moderate teal. Relative luminance 0.083; OKLCH L 42.6% C 0.087 H 161.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#125D3F
RGBrgb(18, 93, 63)
HSLhsl(156, 68%, 22%)
HSVhsv(156, 81%, 36%)
CMYKcmyk(80.6%, 0%, 32.3%, 63.5%)
CIE-LABlab(34.63, -30.14, 11.02)
CIE-LCHlch(34.63, 32.09, 159.92°)
OKLaboklab(42.6% -0.0822 0.028)
OKLCHoklch(42.6% 0.087 161.2)
XYZxyz(5.0605, 8.3156, 6.0400)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D3F #5D1230
analogous
#125D1A #125D3F #12565D
triadic
#125D3F #3F125D #5D3F12
tetradic
#125D3F #1A125D #5D1230 #565D12
square
#125D3F #1A125D #5D1230 #565D12
split-complementary
#125D3F #5D1256 #5D1A12
monochromatic
#051A11 #082A1C #125D3F #1C9062 #26C484

Accessibility & contrast

On white

7.89
#125D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#125D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D3F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D3F#FFFFFF#000000##FFFFFF
##125D3F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C553D
Deuteranopia (green-blind)
#524F41
Tritanopia (blue-blind)
#005D55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125d3f;
/* rgb */ color: rgb(18, 93, 63);
/* oklch */ color: oklch(42.6% 0.087 161.2);
Tailwind
colors: {
  custom: {
    50: '#5d8b74',
    500: '#125d3f',
    950: '#000000',
  },
}
SCSS
$custom: #125d3f;
$custom-light: #5d8b74;
$custom-dark: #000000;
JSON
{
  "hex": "#125d3f",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 63
  },
  "hsl": {
    "h": 156,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42602,
    "c": 0.08679,
    "h": 161.2
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#125D3F
secondary
#95355C
accent
#3D83EA
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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