#125535#125535

#125535 is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.0% C 0.085 H 157.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#125535
RGBrgb(18, 85, 53)
HSLhsl(151, 65%, 20%)
HSVhsv(151, 79%, 33%)
CMYKcmyk(78.8%, 0%, 37.6%, 66.7%)
CIE-LABlab(31.54, -28.98, 12.93)
CIE-LCHlch(31.54, 31.73, 155.96°)
OKLaboklab(39.98% -0.0785 0.0326)
OKLCHoklch(39.98% 0.085 157.5)
XYZxyz(4.1402, 6.8822, 4.4777)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125535 #551232
analogous
#125513 #125535 #125455
triadic
#125535 #351255 #553512
tetradic
#125535 #131255 #551232 #545512
square
#125535 #131255 #551232 #545512
split-complementary
#125535 #551254 #551312
monochromatic
#051910 #072216 #125535 #1D8854 #27BA74

Accessibility & contrast

On white

8.84
#125535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#125535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125535
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125535#FFFFFF#000000##FFFFFF
##1255351.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E33
Deuteranopia (green-blind)
#4C4837
Tritanopia (blue-blind)
#00544D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125535;
/* rgb */ color: rgb(18, 85, 53);
/* oklch */ color: oklch(40.0% 0.085 157.5);
Tailwind
colors: {
  custom: {
    50: '#5b856c',
    500: '#125535',
    950: '#000000',
  },
}
SCSS
$custom: #125535;
$custom-light: #5b856c;
$custom-dark: #000000;
JSON
{
  "hex": "#125535",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 53
  },
  "hsl": {
    "h": 151.343,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.08498,
    "h": 157.5
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#125535
secondary
#8E355F
accent
#4090E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125535

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

Preview Lab → · Contrast checker → · Palette generator →

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