#125738#125738

#125738 is a dark, moderate teal. Relative luminance 0.072; OKLCH L 40.7% C 0.085 H 158.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#125738
RGBrgb(18, 87, 56)
HSLhsl(153, 66%, 21%)
HSVhsv(153, 79%, 34%)
CMYKcmyk(79.3%, 0%, 35.6%, 65.9%)
CIE-LABlab(32.32, -29.16, 12.15)
CIE-LCHlch(32.32, 31.59, 157.38°)
OKLaboklab(40.65% -0.0792 0.0307)
OKLCHoklch(40.65% 0.085 158.8)
XYZxyz(4.3710, 7.2300, 4.9058)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125738 #571231
analogous
#125715 #125738 #125357
triadic
#125738 #381257 #573812
tetradic
#125738 #151257 #571231 #535712
square
#125738 #151257 #571231 #535712
split-complementary
#125738 #571253 #571512
monochromatic
#051910 #082417 #125738 #1C8A59 #27BC79

Accessibility & contrast

On white

8.58
#125738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#125738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125738
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125738#FFFFFF#000000##FFFFFF
##1257381.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565036
Deuteranopia (green-blind)
#4E4A3A
Tritanopia (blue-blind)
#00564F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125738;
/* rgb */ color: rgb(18, 87, 56);
/* oklch */ color: oklch(40.7% 0.085 158.8);
Tailwind
colors: {
  custom: {
    50: '#5c876e',
    500: '#125738',
    950: '#000000',
  },
}
SCSS
$custom: #125738;
$custom-light: #5c876e;
$custom-dark: #000000;
JSON
{
  "hex": "#125738",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 56
  },
  "hsl": {
    "h": 153.043,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40652,
    "c": 0.0849,
    "h": 158.8
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#125738
secondary
#90355E
accent
#3F8BE9
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125738

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

Preview Lab → · Contrast checker → · Palette generator →

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