#125837#125837

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

Color values

HEX#125837
RGBrgb(18, 88, 55)
HSLhsl(152, 66%, 21%)
HSVhsv(152, 80%, 35%)
CMYKcmyk(79.5%, 0%, 37.5%, 65.5%)
CIE-LABlab(32.66, -29.84, 13.23)
CIE-LCHlch(32.66, 32.64, 156.10°)
OKLaboklab(40.92% -0.0808 0.0333)
OKLCHoklch(40.92% 0.087 157.6)
XYZxyz(4.4283, 7.3834, 4.8054)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125837 #581233
analogous
#125814 #125837 #125658
triadic
#125837 #371258 #583712
tetradic
#125837 #141258 #581233 #565812
square
#125837 #141258 #581233 #565812
split-complementary
#125837 #581256 #581412
monochromatic
#051910 #082517 #125837 #1C8B57 #27BE77

Accessibility & contrast

On white

8.48
#125837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125837
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125837#FFFFFF#000000##FFFFFF
##1258371.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575035
Deuteranopia (green-blind)
#4F4A39
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125837;
/* rgb */ color: rgb(18, 88, 55);
/* oklch */ color: oklch(40.9% 0.087 157.6);
Tailwind
colors: {
  custom: {
    50: '#5c886e',
    500: '#125837',
    950: '#000000',
  },
}
SCSS
$custom: #125837;
$custom-light: #5c886e;
$custom-dark: #000000;
JSON
{
  "hex": "#125837",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 55
  },
  "hsl": {
    "h": 151.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40925,
    "c": 0.08743,
    "h": 157.6
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#125837
secondary
#913560
accent
#3F8FE9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B07
muted
#797C7A

Preview Lab

Preview with #125837

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

Preview Lab → · Contrast checker → · Palette generator →

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