#187C3B#187C3B

#187C3B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.133 H 149.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#187C3B
RGBrgb(24, 124, 59)
HSLhsl(141, 68%, 29%)
HSVhsv(141, 81%, 49%)
CMYKcmyk(80.6%, 0%, 52.4%, 51.4%)
CIE-LABlab(45.53, -42.74, 27.62)
CIE-LCHlch(45.53, 50.89, 147.13°)
OKLaboklab(51.61% -0.1148 0.0669)
OKLCHoklch(51.61% 0.133 149.8)
XYZxyz(8.3731, 14.9243, 6.5762)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C3B #7C1859
analogous
#277C18 #187C3B #187C6D
triadic
#187C3B #3B187C #7C3B18
tetradic
#187C3B #18277C #7C1859 #7C6D18
square
#187C3B #18277C #7C1859 #7C6D18
split-complementary
#187C3B #6D187C #7C1827
monochromatic
#051A0C #0E4923 #187C3B #22AF53 #36D86F

Accessibility & contrast

On white

5.27
#187C3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#187C3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C3B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C3B#FFFFFF#000000##FFFFFF
##187C3B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7136
Deuteranopia (green-blind)
#726940
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187c3b;
/* rgb */ color: rgb(24, 124, 59);
/* oklch */ color: oklch(51.6% 0.133 149.8);
Tailwind
colors: {
  custom: {
    50: '#67a372',
    500: '#187c3b',
    950: '#000000',
  },
}
SCSS
$custom: #187c3b;
$custom-light: #67a372;
$custom-dark: #000000;
JSON
{
  "hex": "#187c3b",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 59
  },
  "hsl": {
    "h": 141,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.13289,
    "h": 149.8
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#187C3B
secondary
#B13F89
accent
#3DAEEA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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