#187B19#187B19

#187B19 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.158 H 142.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#187B19
RGBrgb(24, 123, 25)
HSLhsl(121, 67%, 29%)
HSVhsv(121, 80%, 48%)
CMYKcmyk(80.5%, 0%, 79.7%, 51.8%)
CIE-LABlab(44.84, -46.52, 42.53)
CIE-LCHlch(44.84, 63.03, 137.56°)
OKLaboklab(50.93% -0.1262 0.0954)
OKLCHoklch(50.93% 0.158 142.9)
XYZxyz(7.6346, 14.4294, 3.3023)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B19 #7B187A
analogous
#497B18 #187B19 #187B4B
triadic
#187B19 #19187B #7B1918
tetradic
#187B19 #18497B #7B187A #7B4B18
square
#187B19 #18497B #7B187A #7B4B18
split-complementary
#187B19 #4B187B #7B1849
monochromatic
#051A05 #0E480F #187B19 #22AE23 #36D837

Accessibility & contrast

On white

5.40
#187B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#187B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B19
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B19#FFFFFF#000000##FFFFFF
##187B191.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b19;
/* rgb */ color: rgb(24, 123, 25);
/* oklch */ color: oklch(50.9% 0.158 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a25e',
    500: '#187b19',
    950: '#000000',
  },
}
SCSS
$custom: #187b19;
$custom-light: #69a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#187b19",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 120.606,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.15824,
    "h": 142.9
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#187B19
secondary
#B03FAF
accent
#3EE8EA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187B19

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

Preview Lab → · Contrast checker → · Palette generator →

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