#187B38#187B38

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

Color values

HEX#187B38
RGBrgb(24, 123, 56)
HSLhsl(139, 67%, 29%)
HSVhsv(139, 80%, 48%)
CMYKcmyk(80.5%, 0%, 54.5%, 51.8%)
CIE-LABlab(45.14, -42.86, 28.74)
CIE-LCHlch(45.14, 51.60, 146.16°)
OKLaboklab(51.28% -0.1151 0.0693)
OKLCHoklch(51.28% 0.134 149)
XYZxyz(8.1728, 14.6447, 6.1366)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B38 #7B185B
analogous
#2A7B18 #187B38 #187B6A
triadic
#187B38 #38187B #7B3818
tetradic
#187B38 #182A7B #7B185B #7B6A18
square
#187B38 #182A7B #7B185B #7B6A18
split-complementary
#187B38 #6A187B #7B182A
monochromatic
#051A0C #0E4821 #187B38 #22AE4F #36D86A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B38#FFFFFF#000000##FFFFFF
##187B381.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)
#7C7032
Deuteranopia (green-blind)
#71683D
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b38;
/* rgb */ color: rgb(24, 123, 56);
/* oklch */ color: oklch(51.3% 0.134 149.0);
Tailwind
colors: {
  custom: {
    50: '#67a270',
    500: '#187b38',
    950: '#000000',
  },
}
SCSS
$custom: #187b38;
$custom-light: #67a270;
$custom-dark: #000000;
JSON
{
  "hex": "#187b38",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 56
  },
  "hsl": {
    "h": 139.394,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.13438,
    "h": 149
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#187B38
secondary
#B03F8B
accent
#3EB2EA
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187B38

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

Preview Lab → · Contrast checker → · Palette generator →

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