#187A18#187A18

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

Color values

HEX#187A18
RGBrgb(24, 122, 24)
HSLhsl(120, 67%, 29%)
HSVhsv(120, 80%, 48%)
CMYKcmyk(80.3%, 0%, 80.3%, 52.2%)
CIE-LABlab(44.49, -46.26, 42.53)
CIE-LCHlch(44.49, 62.84, 137.40°)
OKLaboklab(50.63% -0.1256 0.0953)
OKLCHoklch(50.63% 0.158 142.8)
XYZxyz(7.5006, 14.1783, 3.2054)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A18 #7A187A
analogous
#497A18 #187A18 #187A49
triadic
#187A18 #18187A #7A1818
tetradic
#187A18 #18497A #7A187A #7A4918
square
#187A18 #18497A #7A187A #7A4918
split-complementary
#187A18 #49187A #7A1849
monochromatic
#051A05 #0E470E #187A18 #22AD22 #35D735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187A18#FFFFFF#000000##FFFFFF
##187A181.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)
#7D6E01
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a18;
/* rgb */ color: rgb(24, 122, 24);
/* oklch */ color: oklch(50.6% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#68a15d',
    500: '#187a18',
    950: '#000000',
  },
}
SCSS
$custom: #187a18;
$custom-light: #68a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#187a18",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50632,
    "c": 0.15763,
    "h": 142.8
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#187A18
secondary
#AF3FAF
accent
#3EEAEA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187A18

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

Preview Lab → · Contrast checker → · Palette generator →

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