#125438#125438

#125438 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 39.8% C 0.080 H 160.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#125438
RGBrgb(18, 84, 56)
HSLhsl(155, 65%, 20%)
HSVhsv(155, 79%, 33%)
CMYKcmyk(78.6%, 0%, 33.3%, 67.1%)
CIE-LABlab(31.24, -27.80, 10.67)
CIE-LCHlch(31.24, 29.77, 159.00°)
OKLaboklab(39.76% -0.0757 0.0271)
OKLCHoklch(39.76% 0.08 160.3)
XYZxyz(4.1332, 6.7543, 4.8265)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125438 #54122E
analogous
#125417 #125438 #124F54
triadic
#125438 #381254 #543812
tetradic
#125438 #171254 #54122E #4F5412
square
#125438 #171254 #54122E #4F5412
split-complementary
#125438 #54124F #541712
monochromatic
#051911 #072216 #125438 #1D865A #28B97B

Accessibility & contrast

On white

8.93
#125438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#125438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125438
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125438#FFFFFF#000000##FFFFFF
##1254381.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D36
Deuteranopia (green-blind)
#4B473A
Tritanopia (blue-blind)
#00544D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125438;
/* rgb */ color: rgb(18, 84, 56);
/* oklch */ color: oklch(39.8% 0.080 160.3);
Tailwind
colors: {
  custom: {
    50: '#5b856e',
    500: '#125438',
    950: '#000000',
  },
}
SCSS
$custom: #125438;
$custom-light: #5b856e;
$custom-dark: #000000;
JSON
{
  "hex": "#125438",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 56
  },
  "hsl": {
    "h": 154.545,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39761,
    "c": 0.08041,
    "h": 160.3
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#125438
secondary
#8D355A
accent
#4087E8
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125438

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

Preview Lab → · Contrast checker → · Palette generator →

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