#18792C#18792C

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

Color values

HEX#18792C
RGBrgb(24, 121, 44)
HSLhsl(132, 67%, 28%)
HSVhsv(132, 80%, 47%)
CMYKcmyk(80.2%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.30, -43.88, 33.86)
CIE-LCHlch(44.30, 55.43, 142.34°)
OKLaboklab(50.53% -0.1182 0.0795)
OKLCHoklch(50.53% 0.142 146.1)
XYZxyz(7.6681, 14.0499, 4.6901)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18792C #791865
analogous
#347918 #18792C #18795C
triadic
#18792C #2C1879 #792C18
tetradic
#18792C #183479 #791865 #795C18
square
#18792C #183479 #791865 #795C18
split-complementary
#18792C #5C1879 #791834
monochromatic
#051A09 #0E4619 #18792C #22AC3F #35D756

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18792C#FFFFFF#000000##FFFFFF
##18792C1.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)
#7B6D24
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #18792c;
/* rgb */ color: rgb(24, 121, 44);
/* oklch */ color: oklch(50.5% 0.142 146.1);
Tailwind
colors: {
  custom: {
    50: '#67a168',
    500: '#18792c',
    950: '#000000',
  },
}
SCSS
$custom: #18792c;
$custom-light: #67a168;
$custom-dark: #000000;
JSON
{
  "hex": "#18792c",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 132.371,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.14248,
    "h": 146.1
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

primary
#18792C
secondary
#AE3F97
accent
#3EC6EA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18792C

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

Preview Lab → · Contrast checker → · Palette generator →

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