#18781E#18781E

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

Color values

HEX#18781E
RGBrgb(24, 120, 30)
HSLhsl(124, 67%, 28%)
HSVhsv(124, 80%, 47%)
CMYKcmyk(80%, 0%, 75%, 52.9%)
CIE-LABlab(43.83, -45.09, 39.62)
CIE-LCHlch(43.83, 60.02, 138.69°)
OKLaboklab(50.1% -0.1221 0.0901)
OKLCHoklch(50.1% 0.152 143.6)
XYZxyz(7.3270, 13.7200, 3.4901)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18781E #781872
analogous
#427818 #18781E #18784E
triadic
#18781E #1E1878 #781E18
tetradic
#18781E #184278 #781872 #784E18
square
#18781E #184278 #781872 #784E18
split-complementary
#18781E #4E1878 #781842
monochromatic
#051A06 #0E4511 #18781E #22AB2B #34D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18781E#FFFFFF#000000##FFFFFF
##18781E1.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)
#7B6C0F
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18781e;
/* rgb */ color: rgb(24, 120, 30);
/* oklch */ color: oklch(50.1% 0.152 143.6);
Tailwind
colors: {
  custom: {
    50: '#67a060',
    500: '#18781e',
    950: '#000000',
  },
}
SCSS
$custom: #18781e;
$custom-light: #67a060;
$custom-dark: #000000;
JSON
{
  "hex": "#18781e",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 123.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.15172,
    "h": 143.6
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#18781E
secondary
#AD3FA6
accent
#3EDFEA
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #18781E

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

Preview Lab → · Contrast checker → · Palette generator →

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