#187C1A#187C1A

#187C1A is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.159 H 143.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#187C1A
RGBrgb(24, 124, 26)
HSLhsl(121, 68%, 29%)
HSVhsv(121, 81%, 49%)
CMYKcmyk(80.6%, 0%, 79%, 51.4%)
CIE-LABlab(45.20, -46.78, 42.52)
CIE-LCHlch(45.20, 63.21, 137.73°)
OKLaboklab(51.23% -0.1269 0.0956)
OKLCHoklch(51.23% 0.159 143)
XYZxyz(7.7703, 14.6832, 3.4017)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C1A #7C187A
analogous
#487C18 #187C1A #187C4C
triadic
#187C1A #1A187C #7C1A18
tetradic
#187C1A #18487C #7C187A #7C4C18
square
#187C1A #18487C #7C187A #7C4C18
split-complementary
#187C1A #4C187C #7C1848
monochromatic
#051A05 #0E490F #187C1A #22AF25 #36D839

Accessibility & contrast

On white

5.33
#187C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#187C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C1A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C1A#FFFFFF#000000##FFFFFF
##187C1A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c1a;
/* rgb */ color: rgb(24, 124, 26);
/* oklch */ color: oklch(51.2% 0.159 143.0);
Tailwind
colors: {
  custom: {
    50: '#69a35e',
    500: '#187c1a',
    950: '#000000',
  },
}
SCSS
$custom: #187c1a;
$custom-light: #69a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#187c1a",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 121.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.15883,
    "h": 143
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#187C1A
secondary
#B13FAE
accent
#3DE7EA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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