#18782D#18782D

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

Color values

HEX#18782D
RGBrgb(24, 120, 45)
HSLhsl(133, 67%, 28%)
HSVhsv(133, 80%, 47%)
CMYKcmyk(80%, 0%, 62.5%, 52.9%)
CIE-LABlab(43.97, -43.39, 32.99)
CIE-LCHlch(43.97, 54.51, 142.76°)
OKLaboklab(50.26% -0.1168 0.0777)
OKLCHoklch(50.26% 0.14 146.4)
XYZxyz(7.5663, 13.8157, 4.7500)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18782D #781863
analogous
#337818 #18782D #18785D
triadic
#18782D #2D1878 #782D18
tetradic
#18782D #183378 #781863 #785D18
square
#18782D #183378 #781863 #785D18
split-complementary
#18782D #5D1878 #781833
monochromatic
#051A0A #0E451A #18782D #22AB40 #34D658

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18782D#FFFFFF#000000##FFFFFF
##18782D1.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)
#7A6C25
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18782d;
/* rgb */ color: rgb(24, 120, 45);
/* oklch */ color: oklch(50.3% 0.140 146.4);
Tailwind
colors: {
  custom: {
    50: '#67a069',
    500: '#18782d',
    950: '#000000',
  },
}
SCSS
$custom: #18782d;
$custom-light: #67a069;
$custom-dark: #000000;
JSON
{
  "hex": "#18782d",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 133.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50257,
    "c": 0.14034,
    "h": 146.4
  },
  "luminance": 0.13817
}

Semantic roles & 50–950 ramp

primary
#18782D
secondary
#AD3F95
accent
#3EC4EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18782D

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

Preview Lab → · Contrast checker → · Palette generator →

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