#125E4B#125E4B

#125E4B is a dark, moderate teal. Relative luminance 0.086; OKLCH L 43.2% C 0.078 H 171.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#125E4B
RGBrgb(18, 94, 75)
HSLhsl(165, 68%, 22%)
HSVhsv(165, 81%, 37%)
CMYKcmyk(80.9%, 0%, 20.2%, 63.1%)
CIE-LABlab(35.28, -27.41, 4.54)
CIE-LCHlch(35.28, 27.78, 170.59°)
OKLaboklab(43.24% -0.0768 0.0116)
OKLCHoklch(43.24% 0.078 171.4)
XYZxyz(5.5215, 8.6413, 8.0322)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E4B #5E1225
analogous
#125E25 #125E4B #124B5E
triadic
#125E4B #4B125E #5E4B12
tetradic
#125E4B #25125E #5E1225 #4B5E12
square
#125E4B #25125E #5E1225 #4B5E12
split-complementary
#125E4B #5E124B #5E2512
monochromatic
#051A14 #082B22 #125E4B #1C9174 #26C59D

Accessibility & contrast

On white

7.70
#125E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#125E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E4B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E4B#FFFFFF#000000##FFFFFF
##125E4B1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B574A
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#005F59
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125e4b;
/* rgb */ color: rgb(18, 94, 75);
/* oklch */ color: oklch(43.2% 0.078 171.4);
Tailwind
colors: {
  custom: {
    50: '#5e8c7d',
    500: '#125e4b',
    950: '#000000',
  },
}
SCSS
$custom: #125e4b;
$custom-light: #5e8c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#125e4b",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 75
  },
  "hsl": {
    "h": 165,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43237,
    "c": 0.07767,
    "h": 171.4
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#125E4B
secondary
#96354E
accent
#3D68EB
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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