#187C18#187C18

#187C18 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.160 H 142.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#187C18
RGBrgb(24, 124, 24)
HSLhsl(120, 68%, 29%)
HSVhsv(120, 81%, 49%)
CMYKcmyk(80.6%, 0%, 80.6%, 51.4%)
CIE-LABlab(45.19, -46.93, 43.21)
CIE-LCHlch(45.19, 63.79, 137.36°)
OKLaboklab(51.21% -0.1274 0.0967)
OKLCHoklch(51.21% 0.16 142.8)
XYZxyz(7.7487, 14.6745, 3.2881)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C18 #7C187C
analogous
#4A7C18 #187C18 #187C4A
triadic
#187C18 #18187C #7C1818
tetradic
#187C18 #184A7C #7C187C #7C4A18
square
#187C18 #184A7C #7C187C #7C4A18
split-complementary
#187C18 #4A187C #7C184A
monochromatic
#051A05 #0E490E #187C18 #22AF22 #36D836

Accessibility & contrast

On white

5.34
#187C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#187C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C18
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C18#FFFFFF#000000##FFFFFF
##187C181.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c18;
/* rgb */ color: rgb(24, 124, 24);
/* oklch */ color: oklch(51.2% 0.160 142.8);
Tailwind
colors: {
  custom: {
    50: '#69a35d',
    500: '#187c18',
    950: '#000000',
  },
}
SCSS
$custom: #187c18;
$custom-light: #69a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#187c18",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.15992,
    "h": 142.8
  },
  "luminance": 0.14675
}

Semantic roles & 50–950 ramp

primary
#187C18
secondary
#B13FB1
accent
#3DEAEA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187C18

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

Preview Lab → · Contrast checker → · Palette generator →

#187C18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva