#187D3E#187D3E

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

Color values

HEX#187D3E
RGBrgb(24, 125, 62)
HSLhsl(143, 68%, 29%)
HSVhsv(143, 81%, 49%)
CMYKcmyk(80.8%, 0%, 50.4%, 51%)
CIE-LABlab(45.92, -42.60, 26.48)
CIE-LCHlch(45.92, 50.16, 148.13°)
OKLaboklab(51.94% -0.1144 0.0645)
OKLCHoklch(51.94% 0.131 150.6)
XYZxyz(8.5791, 15.2082, 7.0398)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D3E #7D1857
analogous
#257D18 #187D3E #187D71
triadic
#187D3E #3E187D #7D3E18
tetradic
#187D3E #18257D #7D1857 #7D7118
square
#187D3E #18257D #7D1857 #7D7118
split-complementary
#187D3E #71187D #7D1825
monochromatic
#051A0D #0E4A25 #187D3E #22B057 #37D974

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187D3E#FFFFFF#000000##FFFFFF
##187D3E1.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)
#7E7239
Deuteranopia (green-blind)
#726A43
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d3e;
/* rgb */ color: rgb(24, 125, 62);
/* oklch */ color: oklch(51.9% 0.131 150.6);
Tailwind
colors: {
  custom: {
    50: '#67a474',
    500: '#187d3e',
    950: '#000000',
  },
}
SCSS
$custom: #187d3e;
$custom-light: #67a474;
$custom-dark: #000000;
JSON
{
  "hex": "#187d3e",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 62
  },
  "hsl": {
    "h": 142.574,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.13136,
    "h": 150.6
  },
  "luminance": 0.15209
}

Semantic roles & 50–950 ramp

primary
#187D3E
secondary
#B23F87
accent
#3DA9EB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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