#18782A#18782A

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

Color values

HEX#18782A
RGBrgb(24, 120, 42)
HSLhsl(131, 67%, 28%)
HSVhsv(131, 80%, 47%)
CMYKcmyk(80%, 0%, 65%, 52.9%)
CIE-LABlab(43.94, -43.78, 34.41)
CIE-LCHlch(43.94, 55.69, 141.83°)
OKLaboklab(50.22% -0.118 0.0805)
OKLCHoklch(50.22% 0.143 145.7)
XYZxyz(7.5105, 13.7934, 4.4566)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18782A #781866
analogous
#367818 #18782A #18785A
triadic
#18782A #2A1878 #782A18
tetradic
#18782A #183678 #781866 #785A18
square
#18782A #183678 #781866 #785A18
split-complementary
#18782A #5A1878 #781836
monochromatic
#051A09 #0E4518 #18782A #22AB3C #34D652

Accessibility & contrast

On white

5.59
#18782A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18782A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18782A#FFFFFF#000000##FFFFFF
##18782A1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C21
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18782a;
/* rgb */ color: rgb(24, 120, 42);
/* oklch */ color: oklch(50.2% 0.143 145.7);
Tailwind
colors: {
  custom: {
    50: '#67a067',
    500: '#18782a',
    950: '#000000',
  },
}
SCSS
$custom: #18782a;
$custom-light: #67a067;
$custom-dark: #000000;
JSON
{
  "hex": "#18782a",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 131.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5022,
    "c": 0.14286,
    "h": 145.7
  },
  "luminance": 0.13794
}

Semantic roles & 50–950 ramp

primary
#18782A
secondary
#AD3F98
accent
#3EC9EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18782A

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

Preview Lab → · Contrast checker → · Palette generator →

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