#187C2F#187C2F

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

Color values

HEX#187C2F
RGBrgb(24, 124, 47)
HSLhsl(134, 68%, 29%)
HSVhsv(134, 81%, 49%)
CMYKcmyk(80.6%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.38, -44.56, 33.63)
CIE-LCHlch(45.38, 55.82, 142.96°)
OKLaboklab(51.43% -0.1199 0.0793)
OKLCHoklch(51.43% 0.144 146.5)
XYZxyz(8.0968, 14.8138, 5.1214)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C2F #7C1865
analogous
#337C18 #187C2F #187C61
triadic
#187C2F #2F187C #7C2F18
tetradic
#187C2F #18337C #7C1865 #7C6118
square
#187C2F #18337C #7C1865 #7C6118
split-complementary
#187C2F #61187C #7C1833
monochromatic
#051A0A #0E491C #187C2F #22AF42 #36D85B

Accessibility & contrast

On white

5.30
#187C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187C2F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C2F#FFFFFF#000000##FFFFFF
##187C2F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187c2f;
/* rgb */ color: rgb(24, 124, 47);
/* oklch */ color: oklch(51.4% 0.144 146.5);
Tailwind
colors: {
  custom: {
    50: '#68a36a',
    500: '#187c2f',
    950: '#000000',
  },
}
SCSS
$custom: #187c2f;
$custom-light: #68a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#187c2f",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 133.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.14378,
    "h": 146.5
  },
  "luminance": 0.14815
}

Semantic roles & 50–950 ramp

primary
#187C2F
secondary
#B13F97
accent
#3DC3EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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