#187A19#187A19

#187A19 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.157 H 142.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#187A19
RGBrgb(24, 122, 25)
HSLhsl(121, 67%, 29%)
HSVhsv(121, 80%, 48%)
CMYKcmyk(80.3%, 0%, 79.5%, 52.2%)
CIE-LABlab(44.49, -46.18, 42.19)
CIE-LCHlch(44.49, 62.55, 137.59°)
OKLaboklab(50.64% -0.1253 0.0947)
OKLCHoklch(50.64% 0.157 142.9)
XYZxyz(7.5112, 14.1826, 3.2612)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A19 #7A1879
analogous
#487A18 #187A19 #187A4A
triadic
#187A19 #19187A #7A1918
tetradic
#187A19 #18487A #7A1879 #7A4A18
square
#187A19 #18487A #7A1879 #7A4A18
split-complementary
#187A19 #4A187A #7A1848
monochromatic
#051A05 #0E470F #187A19 #22AD23 #35D737

Accessibility & contrast

On white

5.47
#187A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#187A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A19
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A19#FFFFFF#000000##FFFFFF
##187A191.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a19;
/* rgb */ color: rgb(24, 122, 25);
/* oklch */ color: oklch(50.6% 0.157 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a15e',
    500: '#187a19',
    950: '#000000',
  },
}
SCSS
$custom: #187a19;
$custom-light: #68a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#187a19",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 120.612,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.15708,
    "h": 142.9
  },
  "luminance": 0.14183
}

Semantic roles & 50–950 ramp

primary
#187A19
secondary
#AF3FAE
accent
#3EE8EA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187A19

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

Preview Lab → · Contrast checker → · Palette generator →

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