#187D28#187D28

#187D28 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.151 H 145.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#187D28
RGBrgb(24, 125, 40)
HSLhsl(130, 68%, 29%)
HSVhsv(130, 81%, 49%)
CMYKcmyk(80.8%, 0%, 68%, 51%)
CIE-LABlab(45.65, -45.78, 37.26)
CIE-LCHlch(45.65, 59.03, 140.86°)
OKLaboklab(51.64% -0.1235 0.0864)
OKLCHoklch(51.64% 0.151 145)
XYZxyz(8.0927, 15.0137, 4.4785)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D28 #7D186D
analogous
#3B7D18 #187D28 #187D5B
triadic
#187D28 #28187D #7D2818
tetradic
#187D28 #183B7D #7D186D #7D5B18
square
#187D28 #183B7D #7D186D #7D5B18
split-complementary
#187D28 #5B187D #7D183B
monochromatic
#051A08 #0E4A18 #187D28 #22B038 #37D950

Accessibility & contrast

On white

5.25
#187D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#187D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D28
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D28#FFFFFF#000000##FFFFFF
##187D281.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d28;
/* rgb */ color: rgb(24, 125, 40);
/* oklch */ color: oklch(51.6% 0.151 145.0);
Tailwind
colors: {
  custom: {
    50: '#68a466',
    500: '#187d28',
    950: '#000000',
  },
}
SCSS
$custom: #187d28;
$custom-light: #68a466;
$custom-dark: #000000;
JSON
{
  "hex": "#187d28",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 129.505,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.15071,
    "h": 145
  },
  "luminance": 0.15015
}

Semantic roles & 50–950 ramp

primary
#187D28
secondary
#B23F9F
accent
#3DCFEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187D28

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

Preview Lab → · Contrast checker → · Palette generator →

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