#187B2B#187B2B

#187B2B is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.146 H 145.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#187B2B
RGBrgb(24, 123, 43)
HSLhsl(132, 67%, 29%)
HSVhsv(132, 80%, 48%)
CMYKcmyk(80.5%, 0%, 65%, 51.8%)
CIE-LABlab(44.99, -44.72, 35.12)
CIE-LCHlch(44.99, 56.87, 141.85°)
OKLaboklab(51.1% -0.1205 0.0821)
OKLCHoklch(51.1% 0.146 145.7)
XYZxyz(7.8951, 14.5336, 4.6742)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B2B #7B1868
analogous
#377B18 #187B2B #187B5D
triadic
#187B2B #2B187B #7B2B18
tetradic
#187B2B #18377B #7B1868 #7B5D18
square
#187B2B #18377B #7B1868 #7B5D18
split-complementary
#187B2B #5D187B #7B1837
monochromatic
#051A09 #0E4819 #187B2B #22AE3D #36D855

Accessibility & contrast

On white

5.37
#187B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#187B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B2B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B2B#FFFFFF#000000##FFFFFF
##187B2B1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F22
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b2b;
/* rgb */ color: rgb(24, 123, 43);
/* oklch */ color: oklch(51.1% 0.146 145.7);
Tailwind
colors: {
  custom: {
    50: '#68a268',
    500: '#187b2b',
    950: '#000000',
  },
}
SCSS
$custom: #187b2b;
$custom-light: #68a268;
$custom-dark: #000000;
JSON
{
  "hex": "#187b2b",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 131.515,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.14585,
    "h": 145.7
  },
  "luminance": 0.14535
}

Semantic roles & 50–950 ramp

primary
#187B2B
secondary
#B03F9A
accent
#3EC9EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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