#125538#125538

#125538 is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.1% C 0.082 H 159.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#125538
RGBrgb(18, 85, 56)
HSLhsl(154, 65%, 20%)
HSVhsv(154, 79%, 33%)
CMYKcmyk(78.8%, 0%, 34.1%, 66.7%)
CIE-LABlab(31.60, -28.26, 11.16)
CIE-LCHlch(31.60, 30.38, 158.44°)
OKLaboklab(40.06% -0.0769 0.0283)
OKLCHoklch(40.06% 0.082 159.8)
XYZxyz(4.2113, 6.9106, 4.8526)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125538 #55122F
analogous
#125516 #125538 #125055
triadic
#125538 #381255 #553812
tetradic
#125538 #161255 #55122F #505512
square
#125538 #161255 #55122F #505512
split-complementary
#125538 #551250 #551612
monochromatic
#051911 #072217 #125538 #1D8859 #27BA7B

Accessibility & contrast

On white

8.82
#125538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125538
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125538#FFFFFF#000000##FFFFFF
##1255381.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E36
Deuteranopia (green-blind)
#4C483A
Tritanopia (blue-blind)
#00554D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125538;
/* rgb */ color: rgb(18, 85, 56);
/* oklch */ color: oklch(40.1% 0.082 159.8);
Tailwind
colors: {
  custom: {
    50: '#5b856e',
    500: '#125538',
    950: '#000000',
  },
}
SCSS
$custom: #125538;
$custom-light: #5b856e;
$custom-dark: #000000;
JSON
{
  "hex": "#125538",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 56
  },
  "hsl": {
    "h": 154.03,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.08191,
    "h": 159.8
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#125538
secondary
#8E355B
accent
#4089E8
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125538

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

Preview Lab → · Contrast checker → · Palette generator →

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