#187D32#187D32

#187D32 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.142 H 147.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#187D32
RGBrgb(24, 125, 50)
HSLhsl(135, 68%, 29%)
HSVhsv(135, 81%, 49%)
CMYKcmyk(80.8%, 0%, 60%, 51%)
CIE-LABlab(45.76, -44.50, 32.58)
CIE-LCHlch(45.76, 55.15, 143.79°)
OKLaboklab(51.76% -0.1197 0.0773)
OKLCHoklch(51.76% 0.142 147.1)
XYZxyz(8.2854, 15.0907, 5.4931)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D32 #7D1863
analogous
#307D18 #187D32 #187D65
triadic
#187D32 #32187D #7D3218
tetradic
#187D32 #18307D #7D1863 #7D6518
square
#187D32 #18307D #7D1863 #7D6518
split-complementary
#187D32 #65187D #7D1830
monochromatic
#051A0A #0E4A1D #187D32 #22B047 #37D960

Accessibility & contrast

On white

5.23
#187D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#187D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D32
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D32#FFFFFF#000000##FFFFFF
##187D321.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712A
Deuteranopia (green-blind)
#736938
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d32;
/* rgb */ color: rgb(24, 125, 50);
/* oklch */ color: oklch(51.8% 0.142 147.1);
Tailwind
colors: {
  custom: {
    50: '#68a46c',
    500: '#187d32',
    950: '#000000',
  },
}
SCSS
$custom: #187d32;
$custom-light: #68a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#187d32",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 135.446,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.14248,
    "h": 147.1
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#187D32
secondary
#B23F94
accent
#3DBEEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187D32

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

Preview Lab → · Contrast checker → · Palette generator →

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