#187B3F#187B3F

#187B3F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.128 H 151.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#187B3F
RGBrgb(24, 123, 63)
HSLhsl(144, 67%, 29%)
HSVhsv(144, 80%, 48%)
CMYKcmyk(80.5%, 0%, 48.8%, 51.8%)
CIE-LABlab(45.25, -41.66, 25.09)
CIE-LCHlch(45.25, 48.63, 148.95°)
OKLaboklab(51.39% -0.1119 0.0614)
OKLCHoklch(51.39% 0.128 151.3)
XYZxyz(8.3561, 14.7180, 7.1021)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B3F #7B1854
analogous
#237B18 #187B3F #187B71
triadic
#187B3F #3F187B #7B3F18
tetradic
#187B3F #18237B #7B1854 #7B7118
square
#187B3F #18237B #7B1854 #7B7118
split-complementary
#187B3F #71187B #7B1823
monochromatic
#051A0D #0E4825 #187B3F #22AE59 #36D876

Accessibility & contrast

On white

5.32
#187B3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187B3F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B3F#FFFFFF#000000##FFFFFF
##187B3F1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703A
Deuteranopia (green-blind)
#706843
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b3f;
/* rgb */ color: rgb(24, 123, 63);
/* oklch */ color: oklch(51.4% 0.128 151.3);
Tailwind
colors: {
  custom: {
    50: '#67a275',
    500: '#187b3f',
    950: '#000000',
  },
}
SCSS
$custom: #187b3f;
$custom-light: #67a275;
$custom-dark: #000000;
JSON
{
  "hex": "#187b3f",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 63
  },
  "hsl": {
    "h": 143.636,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.12767,
    "h": 151.3
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#187B3F
secondary
#B03F83
accent
#3EA6EA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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