#125836#125836

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

Color values

HEX#125836
RGBrgb(18, 88, 54)
HSLhsl(151, 66%, 21%)
HSVhsv(151, 80%, 35%)
CMYKcmyk(79.5%, 0%, 38.6%, 65.5%)
CIE-LABlab(32.64, -30.08, 13.81)
CIE-LCHlch(32.64, 33.09, 155.34°)
OKLaboklab(40.9% -0.0814 0.0347)
OKLCHoklch(40.9% 0.088 156.9)
XYZxyz(4.4046, 7.3739, 4.6805)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125836 #581234
analogous
#125813 #125836 #125758
triadic
#125836 #361258 #583612
tetradic
#125836 #131258 #581234 #575812
square
#125836 #131258 #581234 #575812
split-complementary
#125836 #581257 #581312
monochromatic
#051910 #082517 #125836 #1C8B55 #27BE74

Accessibility & contrast

On white

8.49
#125836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#125836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125836
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125836#FFFFFF#000000##FFFFFF
##1258361.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125836;
/* rgb */ color: rgb(18, 88, 54);
/* oklch */ color: oklch(40.9% 0.088 156.9);
Tailwind
colors: {
  custom: {
    50: '#5c886d',
    500: '#125836',
    950: '#000000',
  },
}
SCSS
$custom: #125836;
$custom-light: #5c886d;
$custom-dark: #000000;
JSON
{
  "hex": "#125836",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 54
  },
  "hsl": {
    "h": 150.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.08846,
    "h": 156.9
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#125836
secondary
#913562
accent
#3F91E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B07
muted
#797C7A

Preview Lab

Preview with #125836

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

Preview Lab → · Contrast checker → · Palette generator →

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