#25796C#25796C

#25796C is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.3% C 0.082 H 180.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#25796C
RGBrgb(37, 121, 108)
HSLhsl(171, 53%, 31%)
HSVhsv(171, 69%, 47%)
CMYKcmyk(69.4%, 0%, 10.7%, 52.5%)
CIE-LABlab(45.84, -28.12, -0.15)
CIE-LCHlch(45.84, 28.12, 180.31°)
OKLaboklab(52.29% -0.0816 -0.0009)
OKLCHoklch(52.29% 0.082 180.6)
XYZxyz(10.3058, 15.1496, 16.5655)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25796C #792532
analogous
#257942 #25796C #255C79
triadic
#25796C #6C2579 #796C25
tetradic
#25796C #422579 #792532 #5C7925
square
#25796C #422579 #792532 #5C7925
split-complementary
#25796C #79255C #794225
monochromatic
#081B18 #174A42 #25796C #33A896 #4FC9B6

Accessibility & contrast

On white

5.21
#25796C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#25796C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25796C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25796C#FFFFFF#000000##FFFFFF
##25796C1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726B
Deuteranopia (green-blind)
#68696D
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #25796c;
/* rgb */ color: rgb(37, 121, 108);
/* oklch */ color: oklch(52.3% 0.082 180.6);
Tailwind
colors: {
  custom: {
    50: '#6ca096',
    500: '#25796c',
    950: '#000000',
  },
}
SCSS
$custom: #25796c;
$custom-light: #6ca096;
$custom-dark: #000000;
JSON
{
  "hex": "#25796c",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 170.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.08161,
    "h": 180.6
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#25796C
secondary
#AB4E5D
accent
#4B62DD
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #25796C

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

Preview Lab → · Contrast checker → · Palette generator →

#25796C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva