#18792A#18792A

#18792A is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.144 H 145.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#18792A
RGBrgb(24, 121, 42)
HSLhsl(131, 67%, 28%)
HSVhsv(131, 80%, 47%)
CMYKcmyk(80.2%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.28, -44.14, 34.80)
CIE-LCHlch(44.28, 56.21, 141.74°)
OKLaboklab(50.51% -0.119 0.0814)
OKLCHoklch(50.51% 0.144 145.6)
XYZxyz(7.6314, 14.0352, 4.4969)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18792A #791867
analogous
#367918 #18792A #18795A
triadic
#18792A #2A1879 #792A18
tetradic
#18792A #183679 #791867 #795A18
square
#18792A #183679 #791867 #795A18
split-complementary
#18792A #5A1879 #791836
monochromatic
#051A09 #0E4618 #18792A #22AC3C #35D753

Accessibility & contrast

On white

5.52
#18792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18792A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18792A#FFFFFF#000000##FFFFFF
##18792A1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D21
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #18792a;
/* rgb */ color: rgb(24, 121, 42);
/* oklch */ color: oklch(50.5% 0.144 145.6);
Tailwind
colors: {
  custom: {
    50: '#67a167',
    500: '#18792a',
    950: '#000000',
  },
}
SCSS
$custom: #18792a;
$custom-light: #67a167;
$custom-dark: #000000;
JSON
{
  "hex": "#18792a",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 131.134,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50509,
    "c": 0.14412,
    "h": 145.6
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#18792A
secondary
#AE3F99
accent
#3ECAEA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18792A

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

Preview Lab → · Contrast checker → · Palette generator →

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