#187C2A#187C2A

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

Color values

HEX#187C2A
RGBrgb(24, 124, 42)
HSLhsl(131, 68%, 29%)
HSVhsv(131, 81%, 49%)
CMYKcmyk(80.6%, 0%, 66.1%, 51.4%)
CIE-LABlab(45.33, -45.20, 35.97)
CIE-LCHlch(45.33, 57.77, 141.48°)
OKLaboklab(51.37% -0.1218 0.0838)
OKLCHoklch(51.37% 0.148 145.5)
XYZxyz(8.0017, 14.7757, 4.6203)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C2A #7C186A
analogous
#387C18 #187C2A #187C5C
triadic
#187C2A #2A187C #7C2A18
tetradic
#187C2A #18387C #7C186A #7C5C18
square
#187C2A #18387C #7C186A #7C5C18
split-complementary
#187C2A #5C187C #7C1838
monochromatic
#051A09 #0E4919 #187C2A #22AF3B #36D853

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187C2A#FFFFFF#000000##FFFFFF
##187C2A1.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)
#7E7020
Deuteranopia (green-blind)
#736831
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c2a;
/* rgb */ color: rgb(24, 124, 42);
/* oklch */ color: oklch(51.4% 0.148 145.5);
Tailwind
colors: {
  custom: {
    50: '#68a367',
    500: '#187c2a',
    950: '#000000',
  },
}
SCSS
$custom: #187c2a;
$custom-light: #68a367;
$custom-dark: #000000;
JSON
{
  "hex": "#187c2a",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 130.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.14791,
    "h": 145.5
  },
  "luminance": 0.14777
}

Semantic roles & 50–950 ramp

primary
#187C2A
secondary
#B13F9C
accent
#3DCBEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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