#187C2C#187C2C

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

Color values

HEX#187C2C
RGBrgb(24, 124, 44)
HSLhsl(132, 68%, 29%)
HSVhsv(132, 81%, 49%)
CMYKcmyk(80.6%, 0%, 64.5%, 51.4%)
CIE-LABlab(45.35, -44.95, 35.05)
CIE-LCHlch(45.35, 57.00, 142.05°)
OKLaboklab(51.4% -0.1211 0.0821)
OKLCHoklch(51.4% 0.146 145.9)
XYZxyz(8.0384, 14.7904, 4.8136)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C2C #7C1868
analogous
#367C18 #187C2C #187C5E
triadic
#187C2C #2C187C #7C2C18
tetradic
#187C2C #18367C #7C1868 #7C5E18
square
#187C2C #18367C #7C1868 #7C5E18
split-complementary
#187C2C #5E187C #7C1836
monochromatic
#051A09 #0E491A #187C2C #22AF3E #36D857

Accessibility & contrast

On white

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

On black

3.96
#187C2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187C2C#FFFFFF#000000##FFFFFF
##187C2C1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#736833
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c2c;
/* rgb */ color: rgb(24, 124, 44);
/* oklch */ color: oklch(51.4% 0.146 145.9);
Tailwind
colors: {
  custom: {
    50: '#68a368',
    500: '#187c2c',
    950: '#000000',
  },
}
SCSS
$custom: #187c2c;
$custom-light: #68a368;
$custom-dark: #000000;
JSON
{
  "hex": "#187c2c",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 132,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51397,
    "c": 0.1463,
    "h": 145.9
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#187C2C
secondary
#B13F9A
accent
#3DC8EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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