#178917#178917

#178917 is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.175 H 142.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#178917
RGBrgb(23, 137, 23)
HSLhsl(120, 71%, 31%)
HSVhsv(120, 83%, 54%)
CMYKcmyk(83.2%, 0%, 83.2%, 46.3%)
CIE-LABlab(49.66, -51.35, 47.77)
CIE-LCHlch(49.66, 70.14, 137.07°)
OKLaboklab(54.93% -0.1394 0.1061)
OKLCHoklch(54.93% 0.175 142.7)
XYZxyz(9.4531, 18.1342, 3.8125)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178917 #891789
analogous
#508917 #178917 #178950
triadic
#178917 #171789 #891717
tetradic
#178917 #175089 #891789 #895017
square
#178917 #175089 #891789 #895017
split-complementary
#178917 #501789 #891750
monochromatic
#052005 #0E550E #178917 #20BD20 #3CDE3C

Accessibility & contrast

On white

4.54
#178917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#178917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178917
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178917#FFFFFF#000000##000000
##1789171.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #178917;
/* rgb */ color: rgb(23, 137, 23);
/* oklch */ color: oklch(54.9% 0.175 142.7);
Tailwind
colors: {
  custom: {
    50: '#6cad5f',
    500: '#178917',
    950: '#000000',
  },
}
SCSS
$custom: #178917;
$custom-light: #6cad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#178917",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.17516,
    "h": 142.7
  },
  "luminance": 0.18135
}

Semantic roles & 50–950 ramp

primary
#178917
secondary
#BD3FBD
accent
#3AEEEE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178917

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

Preview Lab → · Contrast checker → · Palette generator →

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