#125E3A#125E3A

#125E3A is a dark, moderate teal. Relative luminance 0.084; OKLCH L 42.8% C 0.093 H 157.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#125E3A
RGBrgb(18, 94, 58)
HSLhsl(152, 68%, 22%)
HSVhsv(152, 81%, 37%)
CMYKcmyk(80.9%, 0%, 38.3%, 63.1%)
CIE-LABlab(34.88, -31.77, 14.40)
CIE-LCHlch(34.88, 34.88, 155.63°)
OKLaboklab(42.77% -0.0859 0.0362)
OKLCHoklch(42.77% 0.093 157.2)
XYZxyz(5.0154, 8.4389, 5.3667)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E3A #5E1236
analogous
#125E14 #125E3A #125C5E
triadic
#125E3A #3A125E #5E3A12
tetradic
#125E3A #14125E #5E1236 #5C5E12
square
#125E3A #14125E #5E1236 #5C5E12
split-complementary
#125E3A #5E125C #5E1412
monochromatic
#051A10 #082B1A #125E3A #1C915A #26C579

Accessibility & contrast

On white

7.81
#125E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#125E3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E3A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E3A#FFFFFF#000000##FFFFFF
##125E3A1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5638
Deuteranopia (green-blind)
#544F3C
Tritanopia (blue-blind)
#005D55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e3a;
/* rgb */ color: rgb(18, 94, 58);
/* oklch */ color: oklch(42.8% 0.093 157.2);
Tailwind
colors: {
  custom: {
    50: '#5e8c70',
    500: '#125e3a',
    950: '#000000',
  },
}
SCSS
$custom: #125e3a;
$custom-light: #5e8c70;
$custom-dark: #000000;
JSON
{
  "hex": "#125e3a",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 58
  },
  "hsl": {
    "h": 151.579,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.09325,
    "h": 157.2
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#125E3A
secondary
#963563
accent
#3D8FEB
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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