#125340#125340

#125340 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.7% C 0.072 H 168.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#125340
RGBrgb(18, 83, 64)
HSLhsl(162, 64%, 20%)
HSVhsv(162, 78%, 33%)
CMYKcmyk(78.3%, 0%, 22.9%, 67.5%)
CIE-LABlab(31.08, -25.21, 5.42)
CIE-LCHlch(31.08, 25.79, 167.86°)
OKLaboklab(39.69% -0.0702 0.0139)
OKLCHoklch(39.69% 0.072 168.8)
XYZxyz(4.2676, 6.6848, 5.9149)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125340 #531225
analogous
#125320 #125340 #124553
triadic
#125340 #401253 #534012
tetradic
#125340 #201253 #531225 #455312
square
#125340 #201253 #531225 #455312
split-complementary
#125340 #531245 #532012
monochromatic
#051913 #072119 #125340 #1D8567 #28B88E

Accessibility & contrast

On white

8.99
#125340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#125340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125340
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125340#FFFFFF#000000##FFFFFF
##1253401.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3F
Deuteranopia (green-blind)
#484741
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125340;
/* rgb */ color: rgb(18, 83, 64);
/* oklch */ color: oklch(39.7% 0.072 168.8);
Tailwind
colors: {
  custom: {
    50: '#5b8474',
    500: '#125340',
    950: '#000000',
  },
}
SCSS
$custom: #125340;
$custom-light: #5b8474;
$custom-dark: #000000;
JSON
{
  "hex": "#125340",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 64
  },
  "hsl": {
    "h": 162.462,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39693,
    "c": 0.07152,
    "h": 168.8
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#125340
secondary
#8C354E
accent
#4071E7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #125340

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

Preview Lab → · Contrast checker → · Palette generator →

#125340 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva