#24794C#24794C

#24794C is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.108 H 155.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#24794C
RGBrgb(36, 121, 76)
HSLhsl(148, 54%, 31%)
HSVhsv(148, 70%, 47%)
CMYKcmyk(70.2%, 0%, 37.2%, 52.5%)
CIE-LABlab(45.04, -36.32, 17.54)
CIE-LCHlch(45.04, 40.34, 154.22°)
OKLaboklab(51.37% -0.0984 0.0441)
OKLCHoklch(51.37% 0.108 155.9)
XYZxyz(8.8686, 14.5706, 9.1811)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24794C #792451
analogous
#277924 #24794C #247976
triadic
#24794C #4C2479 #794C24
tetradic
#24794C #242779 #792451 #797624
square
#24794C #242779 #792451 #797624
split-complementary
#24794C #762479 #792427
monochromatic
#081B11 #164A2E #24794C #32A86A #4DCA88

Accessibility & contrast

On white

5.36
#24794C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#24794C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24794C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24794C#FFFFFF#000000##FFFFFF
##24794C1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F49
Deuteranopia (green-blind)
#6E674F
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #24794c;
/* rgb */ color: rgb(36, 121, 76);
/* oklch */ color: oklch(51.4% 0.108 155.9);
Tailwind
colors: {
  custom: {
    50: '#6aa07e',
    500: '#24794c',
    950: '#000000',
  },
}
SCSS
$custom: #24794c;
$custom-light: #6aa07e;
$custom-dark: #000000;
JSON
{
  "hex": "#24794c",
  "rgb": {
    "r": 36,
    "g": 121,
    "b": 76
  },
  "hsl": {
    "h": 148.235,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51371,
    "c": 0.10779,
    "h": 155.9
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#24794C
secondary
#AC4D7F
accent
#4A98DE
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #24794C

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

Preview Lab → · Contrast checker → · Palette generator →

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