#125939#125939

#125939 is a dark, moderate teal. Relative luminance 0.076; OKLCH L 41.3% C 0.087 H 158.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#125939
RGBrgb(18, 89, 57)
HSLhsl(153, 66%, 21%)
HSVhsv(153, 80%, 35%)
CMYKcmyk(79.8%, 0%, 36%, 65.1%)
CIE-LABlab(33.07, -29.81, 12.55)
CIE-LCHlch(33.07, 32.35, 157.17°)
OKLaboklab(41.27% -0.0809 0.0317)
OKLCHoklch(41.27% 0.087 158.6)
XYZxyz(4.5599, 7.5682, 5.0906)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125939 #591232
analogous
#125915 #125939 #125559
triadic
#125939 #391259 #593912
tetradic
#125939 #151259 #591232 #555912
square
#125939 #151259 #591232 #555912
split-complementary
#125939 #591255 #591512
monochromatic
#051910 #082618 #125939 #1C8C5A #27BF7A

Accessibility & contrast

On white

8.35
#125939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#125939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125939
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125939#FFFFFF#000000##FFFFFF
##1259391.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585137
Deuteranopia (green-blind)
#4F4B3B
Tritanopia (blue-blind)
#005851
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125939;
/* rgb */ color: rgb(18, 89, 57);
/* oklch */ color: oklch(41.3% 0.087 158.6);
Tailwind
colors: {
  custom: {
    50: '#5c886f',
    500: '#125939',
    950: '#000000',
  },
}
SCSS
$custom: #125939;
$custom-light: #5c886f;
$custom-dark: #000000;
JSON
{
  "hex": "#125939",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 57
  },
  "hsl": {
    "h": 152.958,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41271,
    "c": 0.08687,
    "h": 158.6
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#125939
secondary
#92355F
accent
#3F8BE9
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #125939

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

Preview Lab → · Contrast checker → · Palette generator →

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