#18792F#18792F

#18792F is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.140 H 146.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#18792F
RGBrgb(24, 121, 47)
HSLhsl(134, 67%, 28%)
HSVhsv(134, 80%, 47%)
CMYKcmyk(80.2%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.34, -43.48, 32.42)
CIE-LCHlch(44.34, 54.24, 143.29°)
OKLaboklab(50.57% -0.117 0.0767)
OKLCHoklch(50.57% 0.14 146.8)
XYZxyz(7.7266, 14.0733, 4.9980)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18792F #791862
analogous
#317918 #18792F #18795F
triadic
#18792F #2F1879 #792F18
tetradic
#18792F #183179 #791862 #795F18
square
#18792F #183179 #791862 #795F18
split-complementary
#18792F #5F1879 #791831
monochromatic
#051A0A #0E461B #18792F #22AC43 #35D75B

Accessibility & contrast

On white

5.50
#18792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18792F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18792F#FFFFFF#000000##FFFFFF
##18792F1.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18792f;
/* rgb */ color: rgb(24, 121, 47);
/* oklch */ color: oklch(50.6% 0.140 146.8);
Tailwind
colors: {
  custom: {
    50: '#67a16a',
    500: '#18792f',
    950: '#000000',
  },
}
SCSS
$custom: #18792f;
$custom-light: #67a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#18792f",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 134.227,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.13991,
    "h": 146.8
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#18792F
secondary
#AE3F94
accent
#3EC1EA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18792F

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

Preview Lab → · Contrast checker → · Palette generator →

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