#125B42#125B42

#125B42 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.1% C 0.081 H 164.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#125B42
RGBrgb(18, 91, 66)
HSLhsl(159, 67%, 21%)
HSVhsv(159, 80%, 36%)
CMYKcmyk(80.2%, 0%, 27.5%, 64.3%)
CIE-LABlab(33.99, -28.46, 8.28)
CIE-LCHlch(33.99, 29.64, 163.77°)
OKLaboklab(42.1% -0.0783 0.0211)
OKLCHoklch(42.1% 0.081 164.9)
XYZxyz(4.9734, 8.0035, 6.4359)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B42 #5B122B
analogous
#125B1E #125B42 #12505B
triadic
#125B42 #42125B #5B4212
tetradic
#125B42 #1E125B #5B122B #505B12
square
#125B42 #1E125B #5B122B #505B12
split-complementary
#125B42 #5B1250 #5B1E12
monochromatic
#051A13 #08281D #125B42 #1C8E67 #26C18C

Accessibility & contrast

On white

8.07
#125B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#125B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B42
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B42#FFFFFF#000000##FFFFFF
##125B421.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595441
Deuteranopia (green-blind)
#504D44
Tritanopia (blue-blind)
#005B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125b42;
/* rgb */ color: rgb(18, 91, 66);
/* oklch */ color: oklch(42.1% 0.081 164.9);
Tailwind
colors: {
  custom: {
    50: '#5d8a76',
    500: '#125b42',
    950: '#000000',
  },
}
SCSS
$custom: #125b42;
$custom-light: #5d8a76;
$custom-dark: #000000;
JSON
{
  "hex": "#125b42",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 66
  },
  "hsl": {
    "h": 159.452,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.08108,
    "h": 164.9
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#125B42
secondary
#933556
accent
#3E79EA
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125B42

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

Preview Lab → · Contrast checker → · Palette generator →

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