#187A32#187A32

#187A32 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.139 H 147.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#187A32
RGBrgb(24, 122, 50)
HSLhsl(136, 67%, 29%)
HSVhsv(136, 80%, 48%)
CMYKcmyk(80.3%, 0%, 59%, 52.2%)
CIE-LABlab(44.72, -43.42, 31.35)
CIE-LCHlch(44.72, 53.55, 144.16°)
OKLaboklab(50.9% -0.1168 0.0746)
OKLCHoklch(50.9% 0.139 147.4)
XYZxyz(7.9113, 14.3426, 5.3684)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A32 #7A1860
analogous
#2F7A18 #187A32 #187A63
triadic
#187A32 #32187A #7A3218
tetradic
#187A32 #182F7A #7A1860 #7A6318
square
#187A32 #182F7A #7A1860 #7A6318
split-complementary
#187A32 #63187A #7A182F
monochromatic
#051A0A #0E471D #187A32 #22AD47 #35D760

Accessibility & contrast

On white

5.43
#187A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#187A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A32
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A32#FFFFFF#000000##FFFFFF
##187A321.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2B
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a32;
/* rgb */ color: rgb(24, 122, 50);
/* oklch */ color: oklch(50.9% 0.139 147.4);
Tailwind
colors: {
  custom: {
    50: '#67a16c',
    500: '#187a32',
    950: '#000000',
  },
}
SCSS
$custom: #187a32;
$custom-light: #67a16c;
$custom-dark: #000000;
JSON
{
  "hex": "#187a32",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 50
  },
  "hsl": {
    "h": 135.918,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.509,
    "c": 0.13857,
    "h": 147.4
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#187A32
secondary
#AF3F91
accent
#3EBCEA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187A32

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

Preview Lab → · Contrast checker → · Palette generator →

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