#18781A#18781A

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

Color values

HEX#18781A
RGBrgb(24, 120, 26)
HSLhsl(121, 67%, 28%)
HSVhsv(121, 80%, 47%)
CMYKcmyk(80%, 0%, 78.3%, 52.9%)
CIE-LABlab(43.80, -45.43, 41.14)
CIE-LCHlch(43.80, 61.29, 137.84°)
OKLaboklab(50.07% -0.1232 0.0927)
OKLCHoklch(50.07% 0.154 143.1)
XYZxyz(7.2792, 13.7009, 3.2380)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18781A #781876
analogous
#467818 #18781A #18784A
triadic
#18781A #1A1878 #781A18
tetradic
#18781A #184678 #781876 #784A18
square
#18781A #184678 #781876 #784A18
split-complementary
#18781A #4A1878 #781846
monochromatic
#051A06 #0E450F #18781A #22AB25 #34D637

Accessibility & contrast

On white

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

On black

3.74
#18781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18781A#FFFFFF#000000##FFFFFF
##18781A1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #18781a;
/* rgb */ color: rgb(24, 120, 26);
/* oklch */ color: oklch(50.1% 0.154 143.1);
Tailwind
colors: {
  custom: {
    50: '#68a05e',
    500: '#18781a',
    950: '#000000',
  },
}
SCSS
$custom: #18781a;
$custom-light: #68a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#18781a",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 121.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50065,
    "c": 0.15418,
    "h": 143.1
  },
  "luminance": 0.13702
}

Semantic roles & 50–950 ramp

primary
#18781A
secondary
#AD3FAB
accent
#3EE6EA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #18781A

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

Preview Lab → · Contrast checker → · Palette generator →

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