#187D2C#187D2C

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

Color values

HEX#187D2C
RGBrgb(24, 125, 44)
HSLhsl(132, 68%, 29%)
HSVhsv(132, 81%, 49%)
CMYKcmyk(80.8%, 0%, 64.8%, 51%)
CIE-LABlab(45.69, -45.30, 35.44)
CIE-LCHlch(45.69, 57.52, 141.96°)
OKLaboklab(51.69% -0.122 0.0829)
OKLCHoklch(51.69% 0.148 145.8)
XYZxyz(8.1643, 15.0423, 4.8556)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D2C #7D1869
analogous
#377D18 #187D2C #187D5F
triadic
#187D2C #2C187D #7D2C18
tetradic
#187D2C #18377D #7D1869 #7D5F18
square
#187D2C #18377D #7D1869 #7D5F18
split-complementary
#187D2C #5F187D #7D1837
monochromatic
#051A09 #0E4A1A #187D2C #22B03E #37D957

Accessibility & contrast

On white

5.24
#187D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#187D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D2C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D2C#FFFFFF#000000##FFFFFF
##187D2C1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d2c;
/* rgb */ color: rgb(24, 125, 44);
/* oklch */ color: oklch(51.7% 0.148 145.8);
Tailwind
colors: {
  custom: {
    50: '#68a468',
    500: '#187d2c',
    950: '#000000',
  },
}
SCSS
$custom: #187d2c;
$custom-light: #68a468;
$custom-dark: #000000;
JSON
{
  "hex": "#187d2c",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 131.881,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.14755,
    "h": 145.8
  },
  "luminance": 0.15043
}

Semantic roles & 50–950 ramp

primary
#187D2C
secondary
#B23F9B
accent
#3DC8EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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