#24792F#24792F

#24792F is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.136 H 145.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#24792F
RGBrgb(36, 121, 47)
HSLhsl(128, 54%, 31%)
HSVhsv(128, 70%, 47%)
CMYKcmyk(70.2%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.60, -41.36, 32.79)
CIE-LCHlch(44.60, 52.78, 141.60°)
OKLaboklab(50.86% -0.1118 0.0775)
OKLCHoklch(50.86% 0.136 145.3)
XYZxyz(8.0775, 14.2542, 5.0144)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24792F #79246E
analogous
#437924 #24792F #247959
triadic
#24792F #2F2479 #792F24
tetradic
#24792F #244379 #79246E #795924
square
#24792F #244379 #79246E #795924
split-complementary
#24792F #592479 #792443
monochromatic
#081B0A #164A1D #24792F #32A841 #4DCA5D

Accessibility & contrast

On white

5.45
#24792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#24792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24792F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24792F#FFFFFF#000000##FFFFFF
##24792F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#087669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #24792f;
/* rgb */ color: rgb(36, 121, 47);
/* oklch */ color: oklch(50.9% 0.136 145.3);
Tailwind
colors: {
  custom: {
    50: '#6ba16a',
    500: '#24792f',
    950: '#000000',
  },
}
SCSS
$custom: #24792f;
$custom-light: #6ba16a;
$custom-dark: #000000;
JSON
{
  "hex": "#24792f",
  "rgb": {
    "r": 36,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 127.765,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.13599,
    "h": 145.3
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

primary
#24792F
secondary
#AC4D9F
accent
#4ACADE
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #24792F

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

Preview Lab → · Contrast checker → · Palette generator →

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