#24792B#24792B

#24792B is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.139 H 144.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#24792B
RGBrgb(36, 121, 43)
HSLhsl(125, 54%, 31%)
HSVhsv(125, 70%, 47%)
CMYKcmyk(70.2%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.55, -41.87, 34.70)
CIE-LCHlch(44.55, 54.38, 140.35°)
OKLaboklab(50.81% -0.1133 0.0812)
OKLCHoklch(50.81% 0.139 144.4)
XYZxyz(8.0005, 14.2234, 4.6088)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24792B #792472
analogous
#477924 #24792B #247955
triadic
#24792B #2B2479 #792B24
tetradic
#24792B #244779 #792472 #795524
square
#24792B #244779 #792472 #795524
split-complementary
#24792B #552479 #792447
monochromatic
#081B09 #164A1A #24792B #32A83C #4DCA58

Accessibility & contrast

On white

5.46
#24792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#24792B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24792B
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24792B#FFFFFF#000000##FFFFFF
##24792B1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E22
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#0A7668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #24792b;
/* rgb */ color: rgb(36, 121, 43);
/* oklch */ color: oklch(50.8% 0.139 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ba167',
    500: '#24792b',
    950: '#000000',
  },
}
SCSS
$custom: #24792b;
$custom-light: #6ba167;
$custom-dark: #000000;
JSON
{
  "hex": "#24792b",
  "rgb": {
    "r": 36,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 124.941,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.13941,
    "h": 144.4
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#24792B
secondary
#AC4DA4
accent
#4AD1DE
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #24792B

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

Preview Lab → · Contrast checker → · Palette generator →

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