#187D3D#187D3D

#187D3D is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.132 H 150.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#187D3D
RGBrgb(24, 125, 61)
HSLhsl(142, 68%, 29%)
HSVhsv(142, 81%, 49%)
CMYKcmyk(80.8%, 0%, 51.2%, 51%)
CIE-LABlab(45.90, -42.77, 27.01)
CIE-LCHlch(45.90, 50.59, 147.73°)
OKLaboklab(51.93% -0.1149 0.0657)
OKLCHoklch(51.93% 0.132 150.3)
XYZxyz(8.5519, 15.1973, 6.8966)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D3D #7D1858
analogous
#267D18 #187D3D #187D70
triadic
#187D3D #3D187D #7D3D18
tetradic
#187D3D #18267D #7D1858 #7D7018
square
#187D3D #18267D #7D1858 #7D7018
split-complementary
#187D3D #70187D #7D1826
monochromatic
#051A0D #0E4A24 #187D3D #22B056 #37D972

Accessibility & contrast

On white

5.20
#187D3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#187D3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D3D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D3D#FFFFFF#000000##FFFFFF
##187D3D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7238
Deuteranopia (green-blind)
#726942
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d3d;
/* rgb */ color: rgb(24, 125, 61);
/* oklch */ color: oklch(51.9% 0.132 150.3);
Tailwind
colors: {
  custom: {
    50: '#67a474',
    500: '#187d3d',
    950: '#000000',
  },
}
SCSS
$custom: #187d3d;
$custom-light: #67a474;
$custom-dark: #000000;
JSON
{
  "hex": "#187d3d",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 61
  },
  "hsl": {
    "h": 141.98,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.13233,
    "h": 150.3
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#187D3D
secondary
#B23F88
accent
#3DABEB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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