#187917#187917

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

Color values

HEX#187917
RGBrgb(24, 121, 23)
HSLhsl(119, 68%, 28%)
HSVhsv(119, 81%, 47%)
CMYKcmyk(80.2%, 0%, 81%, 52.5%)
CIE-LABlab(44.13, -45.99, 42.53)
CIE-LCHlch(44.13, 62.65, 137.24°)
OKLaboklab(50.33% -0.1249 0.0952)
OKLCHoklch(50.33% 0.157 142.7)
XYZxyz(7.3683, 13.9299, 3.1109)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187917 #781779
analogous
#497917 #187917 #177947
triadic
#187917 #171879 #791718
tetradic
#187917 #174979 #781779 #794717
square
#187917 #174979 #781779 #794717
split-complementary
#187917 #471779 #791749
monochromatic
#051A05 #0E460D #187917 #22AC21 #34D832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187917#FFFFFF#000000##FFFFFF
##1879171.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)
#7C6D00
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187917;
/* rgb */ color: rgb(24, 121, 23);
/* oklch */ color: oklch(50.3% 0.157 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a15c',
    500: '#187917',
    950: '#000000',
  },
}
SCSS
$custom: #187917;
$custom-light: #68a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#187917",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 119.388,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.15701,
    "h": 142.7
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#187917
secondary
#AD3EAE
accent
#3DEBE9
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187917

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

Preview Lab → · Contrast checker → · Palette generator →

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