#187B3A#187B3A

#187B3A is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.132 H 149.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#187B3A
RGBrgb(24, 123, 58)
HSLhsl(141, 67%, 29%)
HSVhsv(141, 80%, 48%)
CMYKcmyk(80.5%, 0%, 52.8%, 51.8%)
CIE-LABlab(45.17, -42.53, 27.71)
CIE-LCHlch(45.17, 50.76, 146.92°)
OKLaboklab(51.31% -0.1142 0.0671)
OKLCHoklch(51.31% 0.132 149.6)
XYZxyz(8.2227, 14.6646, 6.3994)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B3A #7B1859
analogous
#287B18 #187B3A #187B6C
triadic
#187B3A #3A187B #7B3A18
tetradic
#187B3A #18287B #7B1859 #7B6C18
square
#187B3A #18287B #7B1859 #7B6C18
split-complementary
#187B3A #6C187B #7B1828
monochromatic
#051A0C #0E4822 #187B3A #22AE52 #36D86D

Accessibility & contrast

On white

5.34
#187B3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#187B3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B3A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B3A#FFFFFF#000000##FFFFFF
##187B3A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7034
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b3a;
/* rgb */ color: rgb(24, 123, 58);
/* oklch */ color: oklch(51.3% 0.132 149.6);
Tailwind
colors: {
  custom: {
    50: '#67a271',
    500: '#187b3a',
    950: '#000000',
  },
}
SCSS
$custom: #187b3a;
$custom-light: #67a271;
$custom-dark: #000000;
JSON
{
  "hex": "#187b3a",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 58
  },
  "hsl": {
    "h": 140.606,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51308,
    "c": 0.13249,
    "h": 149.6
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#187B3A
secondary
#B03F89
accent
#3EAFEA
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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