#187B39#187B39

#187B39 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.133 H 149.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#187B39
RGBrgb(24, 123, 57)
HSLhsl(140, 67%, 29%)
HSVhsv(140, 80%, 48%)
CMYKcmyk(80.5%, 0%, 53.7%, 51.8%)
CIE-LABlab(45.16, -42.70, 28.22)
CIE-LCHlch(45.16, 51.18, 146.53°)
OKLaboklab(51.29% -0.1147 0.0682)
OKLCHoklch(51.29% 0.133 149.3)
XYZxyz(8.1975, 14.6545, 6.2667)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B39 #7B185A
analogous
#297B18 #187B39 #187B6B
triadic
#187B39 #39187B #7B3918
tetradic
#187B39 #18297B #7B185A #7B6B18
square
#187B39 #18297B #7B185A #7B6B18
split-complementary
#187B39 #6B187B #7B1829
monochromatic
#051A0C #0E4821 #187B39 #22AE51 #36D86C

Accessibility & contrast

On white

5.34
#187B39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#187B39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B39
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B39#FFFFFF#000000##FFFFFF
##187B391.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7033
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b39;
/* rgb */ color: rgb(24, 123, 57);
/* oklch */ color: oklch(51.3% 0.133 149.3);
Tailwind
colors: {
  custom: {
    50: '#67a271',
    500: '#187b39',
    950: '#000000',
  },
}
SCSS
$custom: #187b39;
$custom-light: #67a271;
$custom-dark: #000000;
JSON
{
  "hex": "#187b39",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 57
  },
  "hsl": {
    "h": 140,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.13344,
    "h": 149.3
  },
  "luminance": 0.14656
}

Semantic roles & 50–950 ramp

primary
#187B39
secondary
#B03F8A
accent
#3EB1EA
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187B39

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

Preview Lab → · Contrast checker → · Palette generator →

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