#187C40#187C40

#187C40 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.128 H 151.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#187C40
RGBrgb(24, 124, 64)
HSLhsl(144, 68%, 29%)
HSVhsv(144, 81%, 49%)
CMYKcmyk(80.6%, 0%, 48.4%, 51.4%)
CIE-LABlab(45.60, -41.86, 25.00)
CIE-LCHlch(45.60, 48.76, 149.16°)
OKLaboklab(51.7% -0.1125 0.0612)
OKLCHoklch(51.7% 0.128 151.4)
XYZxyz(8.5090, 14.9786, 7.2922)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C40 #7C1854
analogous
#227C18 #187C40 #187C72
triadic
#187C40 #40187C #7C4018
tetradic
#187C40 #18227C #7C1854 #7C7218
square
#187C40 #18227C #7C1854 #7C7218
split-complementary
#187C40 #72187C #7C1822
monochromatic
#051A0D #0E4926 #187C40 #22AF5A #36D877

Accessibility & contrast

On white

5.26
#187C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#187C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C40
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C40#FFFFFF#000000##FFFFFF
##187C401.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713B
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187c40;
/* rgb */ color: rgb(24, 124, 64);
/* oklch */ color: oklch(51.7% 0.128 151.4);
Tailwind
colors: {
  custom: {
    50: '#67a376',
    500: '#187c40',
    950: '#000000',
  },
}
SCSS
$custom: #187c40;
$custom-light: #67a376;
$custom-dark: #000000;
JSON
{
  "hex": "#187c40",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 144,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51696,
    "c": 0.12807,
    "h": 151.4
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#187C40
secondary
#B13F83
accent
#3DA5EA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187C40

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

Preview Lab → · Contrast checker → · Palette generator →

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