#187A3B#187A3B

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

Color values

HEX#187A3B
RGBrgb(24, 122, 59)
HSLhsl(141, 67%, 29%)
HSVhsv(141, 80%, 48%)
CMYKcmyk(80.3%, 0%, 51.6%, 52.2%)
CIE-LABlab(44.84, -41.99, 26.76)
CIE-LCHlch(44.84, 49.79, 147.49°)
OKLaboklab(51.04% -0.1128 0.065)
OKLCHoklch(51.04% 0.13 150)
XYZxyz(8.1250, 14.4281, 6.4935)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A3B #7A1857
analogous
#267A18 #187A3B #187A6C
triadic
#187A3B #3B187A #7A3B18
tetradic
#187A3B #18267A #7A1857 #7A6C18
square
#187A3B #18267A #7A1857 #7A6C18
split-complementary
#187A3B #6C187A #7A1826
monochromatic
#051A0C #0E4722 #187A3B #22AD54 #35D76F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187A3B#FFFFFF#000000##FFFFFF
##187A3B1.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)
#7B6F36
Deuteranopia (green-blind)
#706740
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a3b;
/* rgb */ color: rgb(24, 122, 59);
/* oklch */ color: oklch(51.0% 0.130 150.0);
Tailwind
colors: {
  custom: {
    50: '#67a172',
    500: '#187a3b',
    950: '#000000',
  },
}
SCSS
$custom: #187a3b;
$custom-light: #67a172;
$custom-dark: #000000;
JSON
{
  "hex": "#187a3b",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 59
  },
  "hsl": {
    "h": 141.429,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51039,
    "c": 0.13018,
    "h": 150
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#187A3B
secondary
#AF3F87
accent
#3EADEA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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