#187B3C#187B3C

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

Color values

HEX#187B3C
RGBrgb(24, 123, 60)
HSLhsl(142, 67%, 29%)
HSVhsv(142, 80%, 48%)
CMYKcmyk(80.5%, 0%, 51.2%, 51.8%)
CIE-LABlab(45.20, -42.19, 26.67)
CIE-LCHlch(45.20, 49.91, 147.71°)
OKLaboklab(51.34% -0.1133 0.0649)
OKLCHoklch(51.34% 0.131 150.2)
XYZxyz(8.2746, 14.6854, 6.6726)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B3C #7B1857
analogous
#267B18 #187B3C #187B6E
triadic
#187B3C #3C187B #7B3C18
tetradic
#187B3C #18267B #7B1857 #7B6E18
square
#187B3C #18267B #7B1857 #7B6E18
split-complementary
#187B3C #6E187B #7B1826
monochromatic
#051A0C #0E4823 #187B3C #22AE55 #36D871

Accessibility & contrast

On white

5.33
#187B3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#187B3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B3C
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B3C#FFFFFF#000000##FFFFFF
##187B3C1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7037
Deuteranopia (green-blind)
#706841
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b3c;
/* rgb */ color: rgb(24, 123, 60);
/* oklch */ color: oklch(51.3% 0.131 150.2);
Tailwind
colors: {
  custom: {
    50: '#67a273',
    500: '#187b3c',
    950: '#000000',
  },
}
SCSS
$custom: #187b3c;
$custom-light: #67a273;
$custom-dark: #000000;
JSON
{
  "hex": "#187b3c",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 60
  },
  "hsl": {
    "h": 141.818,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.13058,
    "h": 150.2
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#187B3C
secondary
#B03F87
accent
#3EABEA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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