#187C25#187C25

#187C25 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.152 H 144.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#187C25
RGBrgb(24, 124, 37)
HSLhsl(128, 68%, 29%)
HSVhsv(128, 81%, 49%)
CMYKcmyk(80.6%, 0%, 70.2%, 51.4%)
CIE-LABlab(45.28, -45.76, 38.19)
CIE-LCHlch(45.28, 59.61, 140.15°)
OKLaboklab(51.32% -0.1236 0.088)
OKLCHoklch(51.32% 0.152 144.6)
XYZxyz(7.9177, 14.7421, 4.1781)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C25 #7C186F
analogous
#3D7C18 #187C25 #187C57
triadic
#187C25 #25187C #7C2518
tetradic
#187C25 #183D7C #7C186F #7C5718
square
#187C25 #183D7C #7C186F #7C5718
split-complementary
#187C25 #57187C #7C183D
monochromatic
#051A08 #0E4916 #187C25 #22AF34 #36D84B

Accessibility & contrast

On white

5.32
#187C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#187C25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C25
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C25#FFFFFF#000000##FFFFFF
##187C251.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7019
Deuteranopia (green-blind)
#73682D
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c25;
/* rgb */ color: rgb(24, 124, 37);
/* oklch */ color: oklch(51.3% 0.152 144.6);
Tailwind
colors: {
  custom: {
    50: '#68a364',
    500: '#187c25',
    950: '#000000',
  },
}
SCSS
$custom: #187c25;
$custom-light: #68a364;
$custom-dark: #000000;
JSON
{
  "hex": "#187c25",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 127.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5132,
    "c": 0.15172,
    "h": 144.6
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#187C25
secondary
#B13FA2
accent
#3DD4EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C25

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

Preview Lab → · Contrast checker → · Palette generator →

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