#25795F#25795F

#25795F is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.9% C 0.090 H 168.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#25795F
RGBrgb(37, 121, 95)
HSLhsl(161, 53%, 31%)
HSVhsv(161, 69%, 47%)
CMYKcmyk(69.4%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.49, -31.66, 7.05)
CIE-LCHlch(45.49, 32.43, 167.44°)
OKLaboklab(51.88% -0.0882 0.018)
OKLCHoklch(51.88% 0.09 168.4)
XYZxyz(9.6648, 14.8932, 13.1896)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25795F #79253F
analogous
#257935 #25795F #256979
triadic
#25795F #5F2579 #795F25
tetradic
#25795F #352579 #79253F #697925
square
#25795F #352579 #79253F #697925
split-complementary
#25795F #792569 #793525
monochromatic
#081B15 #174A3A #25795F #33A884 #4FC9A3

Accessibility & contrast

On white

5.28
#25795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#25795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25795F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25795F#FFFFFF#000000##FFFFFF
##25795F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #25795f;
/* rgb */ color: rgb(37, 121, 95);
/* oklch */ color: oklch(51.9% 0.090 168.4);
Tailwind
colors: {
  custom: {
    50: '#6ba08c',
    500: '#25795f',
    950: '#000000',
  },
}
SCSS
$custom: #25795f;
$custom-light: #6ba08c;
$custom-dark: #000000;
JSON
{
  "hex": "#25795f",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 161.429,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51884,
    "c": 0.09001,
    "h": 168.4
  },
  "luminance": 0.14894
}

Semantic roles & 50–950 ramp

primary
#25795F
secondary
#AB4E6B
accent
#4B78DD
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #25795F

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

Preview Lab → · Contrast checker → · Palette generator →

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