#18793A#18793A

#18793A is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.130 H 149.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#18793A
RGBrgb(24, 121, 58)
HSLhsl(141, 67%, 28%)
HSVhsv(141, 80%, 47%)
CMYKcmyk(80.2%, 0%, 52.1%, 52.5%)
CIE-LABlab(44.48, -41.78, 26.85)
CIE-LCHlch(44.48, 49.66, 147.27°)
OKLaboklab(50.74% -0.1122 0.0652)
OKLCHoklch(50.74% 0.13 149.9)
XYZxyz(7.9771, 14.1735, 6.3175)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18793A #791857
analogous
#267918 #18793A #18796A
triadic
#18793A #3A1879 #793A18
tetradic
#18793A #182679 #791857 #796A18
square
#18793A #182679 #791857 #796A18
split-complementary
#18793A #6A1879 #791826
monochromatic
#051A0C #0E4622 #18793A #22AC52 #35D76D

Accessibility & contrast

On white

5.48
#18793A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#18793A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18793A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18793A#FFFFFF#000000##FFFFFF
##18793A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E35
Deuteranopia (green-blind)
#6F663F
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #18793a;
/* rgb */ color: rgb(24, 121, 58);
/* oklch */ color: oklch(50.7% 0.130 149.9);
Tailwind
colors: {
  custom: {
    50: '#66a171',
    500: '#18793a',
    950: '#000000',
  },
}
SCSS
$custom: #18793a;
$custom-light: #66a171;
$custom-dark: #000000;
JSON
{
  "hex": "#18793a",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 58
  },
  "hsl": {
    "h": 141.031,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.12978,
    "h": 149.9
  },
  "luminance": 0.14174
}

Semantic roles & 50–950 ramp

primary
#18793A
secondary
#AE3F87
accent
#3EAEEA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #18793A

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

Preview Lab → · Contrast checker → · Palette generator →

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