#187D25#187D25

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

Color values

HEX#187D25
RGBrgb(24, 125, 37)
HSLhsl(128, 68%, 29%)
HSVhsv(128, 81%, 49%)
CMYKcmyk(80.8%, 0%, 70.4%, 51%)
CIE-LABlab(45.63, -46.11, 38.57)
CIE-LCHlch(45.63, 60.11, 140.09°)
OKLaboklab(51.61% -0.1245 0.0888)
OKLCHoklch(51.61% 0.153 144.5)
XYZxyz(8.0437, 14.9940, 4.2201)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D25 #7D1870
analogous
#3E7D18 #187D25 #187D58
triadic
#187D25 #25187D #7D2518
tetradic
#187D25 #183E7D #7D1870 #7D5818
square
#187D25 #183E7D #7D1870 #7D5818
split-complementary
#187D25 #58187D #7D183E
monochromatic
#051A08 #0E4A16 #187D25 #22B034 #37D94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187D25#FFFFFF#000000##FFFFFF
##187D251.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)
#7F7119
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d25;
/* rgb */ color: rgb(24, 125, 37);
/* oklch */ color: oklch(51.6% 0.153 144.5);
Tailwind
colors: {
  custom: {
    50: '#68a464',
    500: '#187d25',
    950: '#000000',
  },
}
SCSS
$custom: #187d25;
$custom-light: #68a464;
$custom-dark: #000000;
JSON
{
  "hex": "#187d25",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 127.723,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51609,
    "c": 0.15294,
    "h": 144.5
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#187D25
secondary
#B23FA3
accent
#3DD4EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187D25

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

Preview Lab → · Contrast checker → · Palette generator →

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