#18783C#18783C

#18783C is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.126 H 150.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#18783C
RGBrgb(24, 120, 60)
HSLhsl(143, 67%, 28%)
HSVhsv(143, 80%, 47%)
CMYKcmyk(80%, 0%, 50%, 52.9%)
CIE-LABlab(44.16, -41.05, 25.37)
CIE-LCHlch(44.16, 48.25, 148.29°)
OKLaboklab(50.48% -0.1103 0.0619)
OKLCHoklch(50.48% 0.126 150.7)
XYZxyz(7.9081, 13.9524, 6.5504)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18783C #781854
analogous
#247818 #18783C #18786C
triadic
#18783C #3C1878 #783C18
tetradic
#18783C #182478 #781854 #786C18
square
#18783C #182478 #781854 #786C18
split-complementary
#18783C #6C1878 #781824
monochromatic
#051A0D #0E4522 #18783C #22AB55 #34D671

Accessibility & contrast

On white

5.54
#18783C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#18783C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18783C
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18783C#FFFFFF#000000##FFFFFF
##18783C1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D37
Deuteranopia (green-blind)
#6E6540
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18783c;
/* rgb */ color: rgb(24, 120, 60);
/* oklch */ color: oklch(50.5% 0.126 150.7);
Tailwind
colors: {
  custom: {
    50: '#66a073',
    500: '#18783c',
    950: '#000000',
  },
}
SCSS
$custom: #18783c;
$custom-light: #66a073;
$custom-dark: #000000;
JSON
{
  "hex": "#18783c",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 60
  },
  "hsl": {
    "h": 142.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.12648,
    "h": 150.7
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#18783C
secondary
#AD3F84
accent
#3EA9EA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #18783C

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

Preview Lab → · Contrast checker → · Palette generator →

#18783C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva