#187D2D#187D2D

#187D2D is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.147 H 146.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#187D2D
RGBrgb(24, 125, 45)
HSLhsl(132, 68%, 29%)
HSVhsv(132, 81%, 49%)
CMYKcmyk(80.8%, 0%, 64%, 51%)
CIE-LABlab(45.70, -45.17, 34.98)
CIE-LCHlch(45.70, 57.13, 142.25°)
OKLaboklab(51.7% -0.1217 0.082)
OKLCHoklch(51.7% 0.147 146)
XYZxyz(8.1834, 15.0499, 4.9557)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D2D #7D1868
analogous
#367D18 #187D2D #187D60
triadic
#187D2D #2D187D #7D2D18
tetradic
#187D2D #18367D #7D1868 #7D6018
square
#187D2D #18367D #7D1868 #7D6018
split-complementary
#187D2D #60187D #7D1836
monochromatic
#051A09 #0E4A1B #187D2D #22B03F #37D958

Accessibility & contrast

On white

5.24
#187D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#187D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D2D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D2D#FFFFFF#000000##FFFFFF
##187D2D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d2d;
/* rgb */ color: rgb(24, 125, 45);
/* oklch */ color: oklch(51.7% 0.147 146.0);
Tailwind
colors: {
  custom: {
    50: '#68a469',
    500: '#187d2d',
    950: '#000000',
  },
}
SCSS
$custom: #187d2d;
$custom-light: #68a469;
$custom-dark: #000000;
JSON
{
  "hex": "#187d2d",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 132.475,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51697,
    "c": 0.14673,
    "h": 146
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#187D2D
secondary
#B23F9A
accent
#3DC7EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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