#187B40#187B40

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

Color values

HEX#187B40
RGBrgb(24, 123, 64)
HSLhsl(144, 67%, 29%)
HSVhsv(144, 80%, 48%)
CMYKcmyk(80.5%, 0%, 48%, 51.8%)
CIE-LABlab(45.26, -41.48, 24.56)
CIE-LCHlch(45.26, 48.20, 149.37°)
OKLaboklab(51.41% -0.1115 0.0602)
OKLCHoklch(51.41% 0.127 151.6)
XYZxyz(8.3843, 14.7293, 7.2506)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B40 #7B1853
analogous
#227B18 #187B40 #187B72
triadic
#187B40 #40187B #7B4018
tetradic
#187B40 #18227B #7B1853 #7B7218
square
#187B40 #18227B #7B1853 #7B7218
split-complementary
#187B40 #72187B #7B1822
monochromatic
#051A0D #0E4825 #187B40 #22AE5B #36D877

Accessibility & contrast

On white

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

On black

3.95
#187B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187B40#FFFFFF#000000##FFFFFF
##187B401.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187b40;
/* rgb */ color: rgb(24, 123, 64);
/* oklch */ color: oklch(51.4% 0.127 151.6);
Tailwind
colors: {
  custom: {
    50: '#67a276',
    500: '#187b40',
    950: '#000000',
  },
}
SCSS
$custom: #187b40;
$custom-light: #67a276;
$custom-dark: #000000;
JSON
{
  "hex": "#187b40",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 144.242,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.12669,
    "h": 151.6
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#187B40
secondary
#B03F82
accent
#3EA4EA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187B40

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

Preview Lab → · Contrast checker → · Palette generator →

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