#187918#187918

#187918 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.156 H 142.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#187918
RGBrgb(24, 121, 24)
HSLhsl(120, 67%, 28%)
HSVhsv(120, 80%, 47%)
CMYKcmyk(80.2%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.14, -45.92, 42.19)
CIE-LCHlch(44.14, 62.36, 137.42°)
OKLaboklab(50.34% -0.1246 0.0946)
OKLCHoklch(50.34% 0.156 142.8)
XYZxyz(7.3785, 13.9340, 3.1646)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187918 #791879
analogous
#487918 #187918 #187948
triadic
#187918 #181879 #791818
tetradic
#187918 #184879 #791879 #794818
square
#187918 #184879 #791879 #794818
split-complementary
#187918 #481879 #791848
monochromatic
#051A05 #0E460E #187918 #22AC22 #35D735

Accessibility & contrast

On white

5.55
#187918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#187918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187918
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187918#FFFFFF#000000##FFFFFF
##1879181.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187918;
/* rgb */ color: rgb(24, 121, 24);
/* oklch */ color: oklch(50.3% 0.156 142.8);
Tailwind
colors: {
  custom: {
    50: '#68a15d',
    500: '#187918',
    950: '#000000',
  },
}
SCSS
$custom: #187918;
$custom-light: #68a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#187918",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50341,
    "c": 0.15648,
    "h": 142.8
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#187918
secondary
#AE3FAE
accent
#3EEAEA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187918

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

Preview Lab → · Contrast checker → · Palette generator →

#187918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva