#18781F#18781F

#18781F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.151 H 143.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#18781F
RGBrgb(24, 120, 31)
HSLhsl(124, 67%, 28%)
HSVhsv(124, 80%, 47%)
CMYKcmyk(80%, 0%, 74.2%, 52.9%)
CIE-LABlab(43.84, -44.99, 39.22)
CIE-LCHlch(43.84, 59.69, 138.92°)
OKLaboklab(50.11% -0.1218 0.0894)
OKLCHoklch(50.11% 0.151 143.7)
XYZxyz(7.3400, 13.7252, 3.5584)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18781F #781871
analogous
#417818 #18781F #18784F
triadic
#18781F #1F1878 #781F18
tetradic
#18781F #184178 #781871 #784F18
square
#18781F #184178 #781871 #784F18
split-complementary
#18781F #4F1878 #781841
monochromatic
#051A07 #0E4512 #18781F #22AB2C #34D640

Accessibility & contrast

On white

5.61
#18781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#18781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18781F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18781F#FFFFFF#000000##FFFFFF
##18781F1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C10
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18781f;
/* rgb */ color: rgb(24, 120, 31);
/* oklch */ color: oklch(50.1% 0.151 143.7);
Tailwind
colors: {
  custom: {
    50: '#67a060',
    500: '#18781f',
    950: '#000000',
  },
}
SCSS
$custom: #18781f;
$custom-light: #67a060;
$custom-dark: #000000;
JSON
{
  "hex": "#18781f",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 124.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.15106,
    "h": 143.7
  },
  "luminance": 0.13726
}

Semantic roles & 50–950 ramp

primary
#18781F
secondary
#AD3FA5
accent
#3EDDEA
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #18781F

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

Preview Lab → · Contrast checker → · Palette generator →

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