#18792D#18792D

#18792D is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.5% C 0.142 H 146.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#18792D
RGBrgb(24, 121, 45)
HSLhsl(133, 67%, 28%)
HSVhsv(133, 80%, 47%)
CMYKcmyk(80.2%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.32, -43.75, 33.39)
CIE-LCHlch(44.32, 55.04, 142.65°)
OKLaboklab(50.54% -0.1178 0.0786)
OKLCHoklch(50.54% 0.142 146.3)
XYZxyz(7.6871, 14.0575, 4.7903)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18792D #791864
analogous
#337918 #18792D #18795D
triadic
#18792D #2D1879 #792D18
tetradic
#18792D #183379 #791864 #795D18
square
#18792D #183379 #791864 #795D18
split-complementary
#18792D #5D1879 #791833
monochromatic
#051A09 #0E461A #18792D #22AC40 #35D758

Accessibility & contrast

On white

5.51
#18792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#18792D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18792D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18792D#FFFFFF#000000##FFFFFF
##18792D1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D25
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #18792d;
/* rgb */ color: rgb(24, 121, 45);
/* oklch */ color: oklch(50.5% 0.142 146.3);
Tailwind
colors: {
  custom: {
    50: '#67a169',
    500: '#18792d',
    950: '#000000',
  },
}
SCSS
$custom: #18792d;
$custom-light: #67a169;
$custom-dark: #000000;
JSON
{
  "hex": "#18792d",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 132.99,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.14163,
    "h": 146.3
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#18792D
secondary
#AE3F96
accent
#3EC5EA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18792D

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

Preview Lab → · Contrast checker → · Palette generator →

#18792D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva