#125638#125638

#125638 is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.4% C 0.083 H 159.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#125638
RGBrgb(18, 86, 56)
HSLhsl(154, 65%, 20%)
HSVhsv(154, 79%, 34%)
CMYKcmyk(79.1%, 0%, 34.9%, 66.3%)
CIE-LABlab(31.96, -28.71, 11.66)
CIE-LCHlch(31.96, 30.99, 157.90°)
OKLaboklab(40.36% -0.078 0.0295)
OKLCHoklch(40.36% 0.083 159.3)
XYZxyz(4.2906, 7.0692, 4.8790)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125638 #561230
analogous
#125616 #125638 #125256
triadic
#125638 #381256 #563812
tetradic
#125638 #161256 #561230 #525612
square
#125638 #161256 #561230 #525612
split-complementary
#125638 #561252 #561612
monochromatic
#051910 #072317 #125638 #1D8959 #27BB7A

Accessibility & contrast

On white

8.70
#125638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#125638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125638
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125638#FFFFFF#000000##FFFFFF
##1256381.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F36
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125638;
/* rgb */ color: rgb(18, 86, 56);
/* oklch */ color: oklch(40.4% 0.083 159.3);
Tailwind
colors: {
  custom: {
    50: '#5c866e',
    500: '#125638',
    950: '#000000',
  },
}
SCSS
$custom: #125638;
$custom-light: #5c866e;
$custom-dark: #000000;
JSON
{
  "hex": "#125638",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 56
  },
  "hsl": {
    "h": 153.529,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40355,
    "c": 0.08341,
    "h": 159.3
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#125638
secondary
#8F355D
accent
#3F8AE8
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125638

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

Preview Lab → · Contrast checker → · Palette generator →

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