#187E17#187E17

#187E17 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.163 H 142.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#187E17
RGBrgb(24, 126, 23)
HSLhsl(119, 69%, 29%)
HSVhsv(119, 82%, 49%)
CMYKcmyk(81%, 0%, 81.7%, 50.6%)
CIE-LABlab(45.88, -47.66, 44.21)
CIE-LCHlch(45.88, 65.00, 137.15°)
OKLaboklab(51.79% -0.1294 0.0986)
OKLCHoklch(51.79% 0.163 142.7)
XYZxyz(7.9917, 15.1768, 3.3187)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E17 #7D177E
analogous
#4C7E17 #187E17 #177E49
triadic
#187E17 #17187E #7E1718
tetradic
#187E17 #174C7E #7D177E #7E4917
square
#187E17 #174C7E #7D177E #7E4917
split-complementary
#187E17 #49177E #7E174C
monochromatic
#051A05 #0E4A0E #187E17 #22B220 #37DA35

Accessibility & contrast

On white

5.20
#187E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#187E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E17
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E17#FFFFFF#000000##FFFFFF
##187E171.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e17;
/* rgb */ color: rgb(24, 126, 23);
/* oklch */ color: oklch(51.8% 0.163 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a45d',
    500: '#187e17',
    950: '#000000',
  },
}
SCSS
$custom: #187e17;
$custom-light: #69a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#187e17",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 119.417,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.16271,
    "h": 142.7
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#187E17
secondary
#B23EB3
accent
#3CECEA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #187E17

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

Preview Lab → · Contrast checker → · Palette generator →

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