#187A37#187A37

#187A37 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.134 H 148.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#187A37
RGBrgb(24, 122, 55)
HSLhsl(139, 67%, 29%)
HSVhsv(139, 80%, 48%)
CMYKcmyk(80.3%, 0%, 54.9%, 52.2%)
CIE-LABlab(44.78, -42.65, 28.83)
CIE-LCHlch(44.78, 51.48, 145.94°)
OKLaboklab(50.97% -0.1146 0.0694)
OKLCHoklch(50.97% 0.134 148.8)
XYZxyz(8.0252, 14.3881, 5.9679)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A37 #7A185B
analogous
#2A7A18 #187A37 #187A68
triadic
#187A37 #37187A #7A3718
tetradic
#187A37 #182A7A #7A185B #7A6818
square
#187A37 #182A7A #7A185B #7A6818
split-complementary
#187A37 #68187A #7A182A
monochromatic
#051A0C #0E4720 #187A37 #22AD4E #35D768

Accessibility & contrast

On white

5.42
#187A37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#187A37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A37
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A37#FFFFFF#000000##FFFFFF
##187A371.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F31
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a37;
/* rgb */ color: rgb(24, 122, 55);
/* oklch */ color: oklch(51.0% 0.134 148.8);
Tailwind
colors: {
  custom: {
    50: '#67a16f',
    500: '#187a37',
    950: '#000000',
  },
}
SCSS
$custom: #187a37;
$custom-light: #67a16f;
$custom-dark: #000000;
JSON
{
  "hex": "#187a37",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 55
  },
  "hsl": {
    "h": 138.98,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50974,
    "c": 0.13398,
    "h": 148.8
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#187A37
secondary
#AF3F8B
accent
#3EB4EA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187A37

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

Preview Lab → · Contrast checker → · Palette generator →

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