#187517#187517

#187517 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.152 H 142.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#187517
RGBrgb(24, 117, 23)
HSLhsl(119, 67%, 27%)
HSVhsv(119, 80%, 46%)
CMYKcmyk(79.5%, 0%, 80.3%, 54.1%)
CIE-LABlab(42.73, -44.64, 41.17)
CIE-LCHlch(42.73, 60.73, 137.32°)
OKLaboklab(49.17% -0.1212 0.0923)
OKLCHoklch(49.17% 0.152 142.7)
XYZxyz(6.8922, 12.9778, 2.9522)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187517 #741775
analogous
#477517 #187517 #177545
triadic
#187517 #171875 #751718
tetradic
#187517 #174775 #741775 #754517
square
#187517 #174775 #741775 #754517
split-complementary
#187517 #451775 #751747
monochromatic
#051A05 #0E420D #187517 #22A821 #32D630

Accessibility & contrast

On white

5.84
#187517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#187517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187517
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187517#FFFFFF#000000##FFFFFF
##1875171.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786901
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #187517;
/* rgb */ color: rgb(24, 117, 23);
/* oklch */ color: oklch(49.2% 0.152 142.7);
Tailwind
colors: {
  custom: {
    50: '#679e5c',
    500: '#187517',
    950: '#000000',
  },
}
SCSS
$custom: #187517;
$custom-light: #679e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#187517",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 119.362,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49169,
    "c": 0.15237,
    "h": 142.7
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#187517
secondary
#A93DAA
accent
#3EEAE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187517

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

Preview Lab → · Contrast checker → · Palette generator →

#187517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva