#187B2A#187B2A

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

Color values

HEX#187B2A
RGBrgb(24, 123, 42)
HSLhsl(131, 67%, 29%)
HSVhsv(131, 80%, 48%)
CMYKcmyk(80.5%, 0%, 65.9%, 51.8%)
CIE-LABlab(44.98, -44.84, 35.59)
CIE-LCHlch(44.98, 57.25, 141.57°)
OKLaboklab(51.09% -0.1209 0.083)
OKLCHoklch(51.09% 0.147 145.5)
XYZxyz(7.8770, 14.5263, 4.5788)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B2A #7B1869
analogous
#387B18 #187B2A #187B5C
triadic
#187B2A #2A187B #7B2A18
tetradic
#187B2A #18387B #7B1869 #7B5C18
square
#187B2A #18387B #7B1869 #7B5C18
split-complementary
#187B2A #5C187B #7B1838
monochromatic
#051A09 #0E4819 #187B2A #22AE3B #36D853

Accessibility & contrast

On white

5.38
#187B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187B2A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B2A#FFFFFF#000000##FFFFFF
##187B2A1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187b2a;
/* rgb */ color: rgb(24, 123, 42);
/* oklch */ color: oklch(51.1% 0.147 145.5);
Tailwind
colors: {
  custom: {
    50: '#68a267',
    500: '#187b2a',
    950: '#000000',
  },
}
SCSS
$custom: #187b2a;
$custom-light: #68a267;
$custom-dark: #000000;
JSON
{
  "hex": "#187b2a",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 130.909,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51086,
    "c": 0.14665,
    "h": 145.5
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#187B2A
secondary
#B03F9B
accent
#3ECBEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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