#187D27#187D27

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

Color values

HEX#187D27
RGBrgb(24, 125, 39)
HSLhsl(129, 68%, 29%)
HSVhsv(129, 81%, 49%)
CMYKcmyk(80.8%, 0%, 68.8%, 51%)
CIE-LABlab(45.64, -45.89, 37.70)
CIE-LCHlch(45.64, 59.39, 140.60°)
OKLaboklab(51.63% -0.1239 0.0872)
OKLCHoklch(51.63% 0.151 144.9)
XYZxyz(8.0759, 15.0069, 4.3901)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D27 #7D186E
analogous
#3C7D18 #187D27 #187D5A
triadic
#187D27 #27187D #7D2718
tetradic
#187D27 #183C7D #7D186E #7D5A18
square
#187D27 #183C7D #7D186E #7D5A18
split-complementary
#187D27 #5A187D #7D183C
monochromatic
#051A08 #0E4A17 #187D27 #22B037 #37D94F

Accessibility & contrast

On white

5.25
#187D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187D27
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D27#FFFFFF#000000##FFFFFF
##187D271.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711C
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d27;
/* rgb */ color: rgb(24, 125, 39);
/* oklch */ color: oklch(51.6% 0.151 144.9);
Tailwind
colors: {
  custom: {
    50: '#68a465',
    500: '#187d27',
    950: '#000000',
  },
}
SCSS
$custom: #187d27;
$custom-light: #68a465;
$custom-dark: #000000;
JSON
{
  "hex": "#187d27",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 128.911,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.15147,
    "h": 144.9
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#187D27
secondary
#B23FA1
accent
#3DD1EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187D27

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

Preview Lab → · Contrast checker → · Palette generator →

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