#187717#187717

#187717 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.155 H 142.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#187717
RGBrgb(24, 119, 23)
HSLhsl(119, 68%, 28%)
HSVhsv(119, 81%, 47%)
CMYKcmyk(79.8%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.43, -45.32, 41.86)
CIE-LCHlch(43.43, 61.69, 137.28°)
OKLaboklab(49.75% -0.1231 0.0937)
OKLCHoklch(49.75% 0.155 142.7)
XYZxyz(7.1277, 13.4489, 3.0307)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187717 #761777
analogous
#487717 #187717 #177746
triadic
#187717 #171877 #771718
tetradic
#187717 #174877 #761777 #774617
square
#187717 #174877 #761777 #774617
split-complementary
#187717 #461777 #771748
monochromatic
#051A05 #0E440D #187717 #22AA21 #33D731

Accessibility & contrast

On white

5.69
#187717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#187717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187717
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187717#FFFFFF#000000##FFFFFF
##1877171.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#6F6422
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #187717;
/* rgb */ color: rgb(24, 119, 23);
/* oklch */ color: oklch(49.8% 0.155 142.7);
Tailwind
colors: {
  custom: {
    50: '#689f5c',
    500: '#187717',
    950: '#000000',
  },
}
SCSS
$custom: #187717;
$custom-light: #689f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#187717",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 119.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49752,
    "c": 0.1547,
    "h": 142.7
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

primary
#187717
secondary
#AB3EAC
accent
#3DEAE9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #187717

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

Preview Lab → · Contrast checker → · Palette generator →

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