#187940#187940

#187940 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.124 H 152.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#187940
RGBrgb(24, 121, 64)
HSLhsl(145, 67%, 28%)
HSVhsv(145, 80%, 47%)
CMYKcmyk(80.2%, 0%, 47.1%, 52.5%)
CIE-LABlab(44.57, -40.71, 23.68)
CIE-LCHlch(44.57, 47.09, 149.82°)
OKLaboklab(50.84% -0.1094 0.0582)
OKLCHoklch(50.84% 0.124 152)
XYZxyz(8.1387, 14.2381, 7.1688)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187940 #791851
analogous
#207918 #187940 #187970
triadic
#187940 #401879 #794018
tetradic
#187940 #182079 #791851 #797018
square
#187940 #182079 #791851 #797018
split-complementary
#187940 #701879 #791820
monochromatic
#051A0E #0E4625 #187940 #22AC5B #35D777

Accessibility & contrast

On white

5.46
#187940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#187940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187940
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187940#FFFFFF#000000##FFFFFF
##1879401.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3C
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187940;
/* rgb */ color: rgb(24, 121, 64);
/* oklch */ color: oklch(50.8% 0.124 152.0);
Tailwind
colors: {
  custom: {
    50: '#66a175',
    500: '#187940',
    950: '#000000',
  },
}
SCSS
$custom: #187940;
$custom-light: #66a175;
$custom-dark: #000000;
JSON
{
  "hex": "#187940",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 144.742,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50842,
    "c": 0.12394,
    "h": 152
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#187940
secondary
#AE3F80
accent
#3EA3EA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187940

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

Preview Lab → · Contrast checker → · Palette generator →

#187940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva