#18782C#18782C

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

Color values

HEX#18782C
RGBrgb(24, 120, 44)
HSLhsl(133, 67%, 28%)
HSVhsv(133, 80%, 47%)
CMYKcmyk(80%, 0%, 63.3%, 52.9%)
CIE-LABlab(43.96, -43.53, 33.47)
CIE-LCHlch(43.96, 54.90, 142.44°)
OKLaboklab(50.24% -0.1172 0.0787)
OKLCHoklch(50.24% 0.141 146.1)
XYZxyz(7.5472, 13.8081, 4.6499)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18782C #781864
analogous
#347818 #18782C #18785C
triadic
#18782C #2C1878 #782C18
tetradic
#18782C #183478 #781864 #785C18
square
#18782C #183478 #781864 #785C18
split-complementary
#18782C #5C1878 #781834
monochromatic
#051A09 #0E4519 #18782C #22AB3F #34D656

Accessibility & contrast

On white

5.58
#18782C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#18782C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18782C
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18782C#FFFFFF#000000##FFFFFF
##18782C1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C24
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18782c;
/* rgb */ color: rgb(24, 120, 44);
/* oklch */ color: oklch(50.2% 0.141 146.1);
Tailwind
colors: {
  custom: {
    50: '#67a068',
    500: '#18782c',
    950: '#000000',
  },
}
SCSS
$custom: #18782c;
$custom-light: #67a068;
$custom-dark: #000000;
JSON
{
  "hex": "#18782c",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 44
  },
  "hsl": {
    "h": 132.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.14119,
    "h": 146.1
  },
  "luminance": 0.13809
}

Semantic roles & 50–950 ramp

primary
#18782C
secondary
#AD3F96
accent
#3EC6EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18782C

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

Preview Lab → · Contrast checker → · Palette generator →

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