#187C27#187C27

#187C27 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.3% C 0.150 H 144.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#187C27
RGBrgb(24, 124, 39)
HSLhsl(129, 68%, 29%)
HSVhsv(129, 81%, 49%)
CMYKcmyk(80.6%, 0%, 68.5%, 51.4%)
CIE-LABlab(45.30, -45.55, 37.32)
CIE-LCHlch(45.30, 58.88, 140.67°)
OKLaboklab(51.34% -0.1229 0.0864)
OKLCHoklch(51.34% 0.15 144.9)
XYZxyz(7.9500, 14.7550, 4.3481)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C27 #7C186D
analogous
#3B7C18 #187C27 #187C59
triadic
#187C27 #27187C #7C2718
tetradic
#187C27 #183B7C #7C186D #7C5918
square
#187C27 #183B7C #7C186D #7C5918
split-complementary
#187C27 #59187C #7C183B
monochromatic
#051A08 #0E4917 #187C27 #22AF37 #36D84F

Accessibility & contrast

On white

5.31
#187C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#187C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C27
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C27#FFFFFF#000000##FFFFFF
##187C271.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701C
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c27;
/* rgb */ color: rgb(24, 124, 39);
/* oklch */ color: oklch(51.3% 0.150 144.9);
Tailwind
colors: {
  custom: {
    50: '#68a365',
    500: '#187c27',
    950: '#000000',
  },
}
SCSS
$custom: #187c27;
$custom-light: #68a365;
$custom-dark: #000000;
JSON
{
  "hex": "#187c27",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 129,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.15024,
    "h": 144.9
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#187C27
secondary
#B13FA0
accent
#3DD0EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C27

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

Preview Lab → · Contrast checker → · Palette generator →

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