#125E3E#125E3E

#125E3E is a dark, moderate teal. Relative luminance 0.085; OKLCH L 42.9% C 0.089 H 159.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#125E3E
RGBrgb(18, 94, 62)
HSLhsl(155, 68%, 22%)
HSVhsv(155, 81%, 37%)
CMYKcmyk(80.9%, 0%, 34%, 63.1%)
CIE-LABlab(34.97, -30.83, 12.09)
CIE-LCHlch(34.97, 33.12, 158.59°)
OKLaboklab(42.87% -0.0838 0.0306)
OKLCHoklch(42.87% 0.089 159.9)
XYZxyz(5.1211, 8.4812, 5.9236)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E3E #5E1232
analogous
#125E18 #125E3E #12585E
triadic
#125E3E #3E125E #5E3E12
tetradic
#125E3E #18125E #5E1232 #585E12
square
#125E3E #18125E #5E1232 #585E12
split-complementary
#125E3E #5E1258 #5E1812
monochromatic
#051A11 #082B1C #125E3E #1C9160 #26C582

Accessibility & contrast

On white

7.79
#125E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#125E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E3E
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E3E#FFFFFF#000000##FFFFFF
##125E3E1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D563C
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#005E56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e3e;
/* rgb */ color: rgb(18, 94, 62);
/* oklch */ color: oklch(42.9% 0.089 159.9);
Tailwind
colors: {
  custom: {
    50: '#5e8c73',
    500: '#125e3e',
    950: '#000000',
  },
}
SCSS
$custom: #125e3e;
$custom-light: #5e8c73;
$custom-dark: #000000;
JSON
{
  "hex": "#125e3e",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 62
  },
  "hsl": {
    "h": 154.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.08922,
    "h": 159.9
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#125E3E
secondary
#96355E
accent
#3D86EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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