#125237#125237

#125237 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.1% C 0.078 H 160.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#125237
RGBrgb(18, 82, 55)
HSLhsl(155, 64%, 20%)
HSVhsv(155, 78%, 32%)
CMYKcmyk(78%, 0%, 32.9%, 67.8%)
CIE-LABlab(30.49, -27.13, 10.26)
CIE-LCHlch(30.49, 29.00, 159.28°)
OKLaboklab(39.14% -0.0739 0.0261)
OKLCHoklch(39.14% 0.078 160.6)
XYZxyz(3.9559, 6.4386, 4.6480)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125237 #52122D
analogous
#125217 #125237 #124D52
triadic
#125237 #371252 #523712
tetradic
#125237 #171252 #52122D #4D5212
square
#125237 #171252 #52122D #4D5212
split-complementary
#125237 #52124D #521712
monochromatic
#061911 #072015 #125237 #1D8459 #28B67A

Accessibility & contrast

On white

9.18
#125237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#125237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125237
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125237#FFFFFF#000000##FFFFFF
##1252371.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B35
Deuteranopia (green-blind)
#494539
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125237;
/* rgb */ color: rgb(18, 82, 55);
/* oklch */ color: oklch(39.1% 0.078 160.6);
Tailwind
colors: {
  custom: {
    50: '#5b836e',
    500: '#125237',
    950: '#000000',
  },
}
SCSS
$custom: #125237;
$custom-light: #5b836e;
$custom-dark: #000000;
JSON
{
  "hex": "#125237",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 55
  },
  "hsl": {
    "h": 154.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39138,
    "c": 0.0784,
    "h": 160.6
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#125237
secondary
#8B3559
accent
#4187E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125237

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

Preview Lab → · Contrast checker → · Palette generator →

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