#125835#125835

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

Color values

HEX#125835
RGBrgb(18, 88, 53)
HSLhsl(150, 66%, 21%)
HSVhsv(150, 80%, 35%)
CMYKcmyk(79.5%, 0%, 39.8%, 65.5%)
CIE-LABlab(32.62, -30.30, 14.39)
CIE-LCHlch(32.62, 33.55, 154.60°)
OKLaboklab(40.88% -0.0819 0.0361)
OKLCHoklch(40.88% 0.09 156.2)
XYZxyz(4.3814, 7.3646, 4.5581)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125835 #581235
analogous
#125812 #125835 #125858
triadic
#125835 #351258 #583512
tetradic
#125835 #121258 #581235 #585812
square
#125835 #121258 #581235 #585812
split-complementary
#125835 #581258 #581212
monochromatic
#05190F #082516 #125835 #1C8B54 #27BE72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125835#FFFFFF#000000##FFFFFF
##1258351.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)
#575033
Deuteranopia (green-blind)
#4F4A37
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125835;
/* rgb */ color: rgb(18, 88, 53);
/* oklch */ color: oklch(40.9% 0.089 156.2);
Tailwind
colors: {
  custom: {
    50: '#5c886c',
    500: '#125835',
    950: '#000000',
  },
}
SCSS
$custom: #125835;
$custom-light: #5c886c;
$custom-dark: #000000;
JSON
{
  "hex": "#125835",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 53
  },
  "hsl": {
    "h": 150,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.0895,
    "h": 156.2
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#125835
secondary
#913563
accent
#3F94E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B07
muted
#797C7A

Preview Lab

Preview with #125835

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

Preview Lab → · Contrast checker → · Palette generator →

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