#187C3A#187C3A

#187C3A is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.134 H 149.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#187C3A
RGBrgb(24, 124, 58)
HSLhsl(140, 68%, 29%)
HSVhsv(140, 81%, 49%)
CMYKcmyk(80.6%, 0%, 53.2%, 51.4%)
CIE-LABlab(45.52, -42.91, 28.13)
CIE-LCHlch(45.52, 51.31, 146.75°)
OKLaboklab(51.59% -0.1152 0.068)
OKLCHoklch(51.59% 0.134 149.4)
XYZxyz(8.3474, 14.9140, 6.4409)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C3A #7C185A
analogous
#287C18 #187C3A #187C6C
triadic
#187C3A #3A187C #7C3A18
tetradic
#187C3A #18287C #7C185A #7C6C18
square
#187C3A #18287C #7C185A #7C6C18
split-complementary
#187C3A #6C187C #7C1828
monochromatic
#051A0C #0E4922 #187C3A #22AF52 #36D86D

Accessibility & contrast

On white

5.27
#187C3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#187C3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C3A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C3A#FFFFFF#000000##FFFFFF
##187C3A1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7134
Deuteranopia (green-blind)
#72693F
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187c3a;
/* rgb */ color: rgb(24, 124, 58);
/* oklch */ color: oklch(51.6% 0.134 149.4);
Tailwind
colors: {
  custom: {
    50: '#67a371',
    500: '#187c3a',
    950: '#000000',
  },
}
SCSS
$custom: #187c3a;
$custom-light: #67a371;
$custom-dark: #000000;
JSON
{
  "hex": "#187c3a",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 58
  },
  "hsl": {
    "h": 140.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.13384,
    "h": 149.4
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#187C3A
secondary
#B13F8A
accent
#3DB0EA
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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