#187C24#187C24

#187C24 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.152 H 144.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#187C24
RGBrgb(24, 124, 36)
HSLhsl(127, 68%, 29%)
HSVhsv(127, 81%, 49%)
CMYKcmyk(80.6%, 0%, 71%, 51.4%)
CIE-LABlab(45.27, -45.87, 38.62)
CIE-LCHlch(45.27, 59.96, 139.90°)
OKLaboklab(51.31% -0.1239 0.0888)
OKLCHoklch(51.31% 0.152 144.4)
XYZxyz(7.9022, 14.7359, 4.0966)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C24 #7C1870
analogous
#3E7C18 #187C24 #187C56
triadic
#187C24 #24187C #7C2418
tetradic
#187C24 #183E7C #7C1870 #7C5618
square
#187C24 #183E7C #7C1870 #7C5618
split-complementary
#187C24 #56187C #7C183E
monochromatic
#051A07 #0E4915 #187C24 #22AF33 #36D84A

Accessibility & contrast

On white

5.32
#187C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187C24
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C24#FFFFFF#000000##FFFFFF
##187C241.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7017
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c24;
/* rgb */ color: rgb(24, 124, 36);
/* oklch */ color: oklch(51.3% 0.152 144.4);
Tailwind
colors: {
  custom: {
    50: '#68a364',
    500: '#187c24',
    950: '#000000',
  },
}
SCSS
$custom: #187c24;
$custom-light: #68a364;
$custom-dark: #000000;
JSON
{
  "hex": "#187c24",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 127.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.15244,
    "h": 144.4
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#187C24
secondary
#B13FA3
accent
#3DD6EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C24

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

Preview Lab → · Contrast checker → · Palette generator →

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