#25795C#25795C

#25795C is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.092 H 166.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#25795C
RGBrgb(37, 121, 92)
HSLhsl(159, 53%, 31%)
HSVhsv(159, 69%, 47%)
CMYKcmyk(69.4%, 0%, 24%, 52.5%)
CIE-LABlab(45.41, -32.42, 8.72)
CIE-LCHlch(45.41, 33.57, 164.94°)
OKLaboklab(51.8% -0.0897 0.0223)
OKLCHoklch(51.8% 0.092 166)
XYZxyz(9.5311, 14.8397, 12.4852)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25795C #792542
analogous
#257932 #25795C #256C79
triadic
#25795C #5C2579 #795C25
tetradic
#25795C #322579 #792542 #6C7925
square
#25795C #322579 #792542 #6C7925
split-complementary
#25795C #79256C #793225
monochromatic
#081B15 #174A38 #25795C #33A880 #4FC99F

Accessibility & contrast

On white

5.29
#25795C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#25795C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25795C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25795C#FFFFFF#000000##FFFFFF
##25795C1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705A
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #25795c;
/* rgb */ color: rgb(37, 121, 92);
/* oklch */ color: oklch(51.8% 0.092 166.0);
Tailwind
colors: {
  custom: {
    50: '#6ba08a',
    500: '#25795c',
    950: '#000000',
  },
}
SCSS
$custom: #25795c;
$custom-light: #6ba08a;
$custom-dark: #000000;
JSON
{
  "hex": "#25795c",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 159.286,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51799,
    "c": 0.09245,
    "h": 166
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#25795C
secondary
#AB4E6F
accent
#4B7DDD
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #25795C

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

Preview Lab → · Contrast checker → · Palette generator →

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