#125838#125838

#125838 is a dark, moderate teal. Relative luminance 0.074; OKLCH L 40.9% C 0.086 H 158.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#125838
RGBrgb(18, 88, 56)
HSLhsl(153, 66%, 21%)
HSVhsv(153, 80%, 35%)
CMYKcmyk(79.5%, 0%, 36.4%, 65.5%)
CIE-LABlab(32.69, -29.61, 12.64)
CIE-LCHlch(32.69, 32.19, 156.88°)
OKLaboklab(40.95% -0.0803 0.0319)
OKLCHoklch(40.95% 0.086 158.3)
XYZxyz(4.4525, 7.3930, 4.9330)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125838 #581232
analogous
#125815 #125838 #125558
triadic
#125838 #381258 #583812
tetradic
#125838 #151258 #581232 #555812
square
#125838 #151258 #581232 #555812
split-complementary
#125838 #581255 #581512
monochromatic
#051910 #082518 #125838 #1C8B58 #27BE79

Accessibility & contrast

On white

8.47
#125838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#125838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125838
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125838#FFFFFF#000000##FFFFFF
##1258381.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575136
Deuteranopia (green-blind)
#4F4A3A
Tritanopia (blue-blind)
#005750
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125838;
/* rgb */ color: rgb(18, 88, 56);
/* oklch */ color: oklch(40.9% 0.086 158.3);
Tailwind
colors: {
  custom: {
    50: '#5c886e',
    500: '#125838',
    950: '#000000',
  },
}
SCSS
$custom: #125838;
$custom-light: #5c886e;
$custom-dark: #000000;
JSON
{
  "hex": "#125838",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 56
  },
  "hsl": {
    "h": 152.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.0864,
    "h": 158.3
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#125838
secondary
#91355F
accent
#3F8DE9
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #125838

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

Preview Lab → · Contrast checker → · Palette generator →

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