#18782F#18782F

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

Color values

HEX#18782F
RGBrgb(24, 120, 47)
HSLhsl(134, 67%, 28%)
HSVhsv(134, 80%, 47%)
CMYKcmyk(80%, 0%, 60.8%, 52.9%)
CIE-LABlab(43.99, -43.12, 32.01)
CIE-LCHlch(43.99, 53.70, 143.41°)
OKLaboklab(50.28% -0.116 0.0758)
OKLCHoklch(50.28% 0.139 146.8)
XYZxyz(7.6057, 13.8315, 4.9577)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18782F #781861
analogous
#317818 #18782F #18785F
triadic
#18782F #2F1878 #782F18
tetradic
#18782F #183178 #781861 #785F18
square
#18782F #183178 #781861 #785F18
split-complementary
#18782F #5F1878 #781831
monochromatic
#051A0A #0E451B #18782F #22AB43 #34D65B

Accessibility & contrast

On white

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

On black

3.77
#18782F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18782F#FFFFFF#000000##FFFFFF
##18782F1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18782f;
/* rgb */ color: rgb(24, 120, 47);
/* oklch */ color: oklch(50.3% 0.139 146.8);
Tailwind
colors: {
  custom: {
    50: '#67a06a',
    500: '#18782f',
    950: '#000000',
  },
}
SCSS
$custom: #18782f;
$custom-light: #67a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#18782f",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 134.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.13861,
    "h": 146.8
  },
  "luminance": 0.13832
}

Semantic roles & 50–950 ramp

primary
#18782F
secondary
#AD3F93
accent
#3EC1EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18782F

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

Preview Lab → · Contrast checker → · Palette generator →

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