#187E25#187E25

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

Color values

HEX#187E25
RGBrgb(24, 126, 37)
HSLhsl(128, 68%, 29%)
HSVhsv(128, 81%, 49%)
CMYKcmyk(81%, 0%, 70.6%, 50.6%)
CIE-LABlab(45.97, -46.45, 38.94)
CIE-LCHlch(45.97, 60.61, 140.03°)
OKLaboklab(51.9% -0.1255 0.0896)
OKLCHoklch(51.9% 0.154 144.5)
XYZxyz(8.1709, 15.2485, 4.2625)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E25 #7E1871
analogous
#3E7E18 #187E25 #187E58
triadic
#187E25 #25187E #7E2518
tetradic
#187E25 #183E7E #7E1871 #7E5818
square
#187E25 #183E7E #7E1871 #7E5818
split-complementary
#187E25 #58187E #7E183E
monochromatic
#051A08 #0E4B16 #187E25 #22B134 #37D94C

Accessibility & contrast

On white

5.19
#187E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#187E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E25
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E25#FFFFFF#000000##FFFFFF
##187E251.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807218
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e25;
/* rgb */ color: rgb(24, 126, 37);
/* oklch */ color: oklch(51.9% 0.154 144.5);
Tailwind
colors: {
  custom: {
    50: '#69a464',
    500: '#187e25',
    950: '#000000',
  },
}
SCSS
$custom: #187e25;
$custom-light: #69a464;
$custom-dark: #000000;
JSON
{
  "hex": "#187e25",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 127.647,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51897,
    "c": 0.15415,
    "h": 144.5
  },
  "luminance": 0.15249
}

Semantic roles & 50–950 ramp

primary
#187E25
secondary
#B23FA4
accent
#3DD5EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187E25

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

Preview Lab → · Contrast checker → · Palette generator →

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