#24795F#24795F

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

Color values

HEX#24795F
RGBrgb(36, 121, 95)
HSLhsl(162, 54%, 31%)
HSVhsv(162, 70%, 47%)
CMYKcmyk(70.2%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.46, -31.83, 7.02)
CIE-LCHlch(45.46, 32.60, 167.57°)
OKLaboklab(51.86% -0.0887 0.0179)
OKLCHoklch(51.86% 0.09 168.6)
XYZxyz(9.6294, 14.8750, 13.1879)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24795F #79243E
analogous
#247934 #24795F #246879
triadic
#24795F #5F2479 #795F24
tetradic
#24795F #342479 #79243E #687924
square
#24795F #342479 #79243E #687924
split-complementary
#24795F #792468 #793424
monochromatic
#081B15 #164A3A #24795F #32A884 #4DCAA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24795F#FFFFFF#000000##FFFFFF
##24795F1.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: #24795f;
/* rgb */ color: rgb(36, 121, 95);
/* oklch */ color: oklch(51.9% 0.090 168.6);
Tailwind
colors: {
  custom: {
    50: '#6ba08c',
    500: '#24795f',
    950: '#000000',
  },
}
SCSS
$custom: #24795f;
$custom-light: #6ba08c;
$custom-dark: #000000;
JSON
{
  "hex": "#24795f",
  "rgb": {
    "r": 36,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 161.647,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.09048,
    "h": 168.6
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#24795F
secondary
#AC4D6A
accent
#4A77DE
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #24795F

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

Preview Lab → · Contrast checker → · Palette generator →

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