#178817#178817

#178817 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.6% C 0.174 H 142.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#178817
RGBrgb(23, 136, 23)
HSLhsl(120, 71%, 31%)
HSVhsv(120, 83%, 53%)
CMYKcmyk(83.1%, 0%, 83.1%, 46.7%)
CIE-LABlab(49.32, -51.03, 47.45)
CIE-LCHlch(49.32, 69.69, 137.08°)
OKLaboklab(54.64% -0.1385 0.1054)
OKLCHoklch(54.64% 0.174 142.7)
XYZxyz(9.3116, 17.8512, 3.7653)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178817 #881788
analogous
#4F8817 #178817 #17884F
triadic
#178817 #171788 #881717
tetradic
#178817 #174F88 #881788 #884F17
square
#178817 #174F88 #881788 #884F17
split-complementary
#178817 #4F1788 #88174F
monochromatic
#051F05 #0E540E #178817 #20BC20 #3BDE3B

Accessibility & contrast

On white

4.59
#178817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#178817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #178817
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178817#FFFFFF#000000##FFFFFF
##1788171.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#008473
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #178817;
/* rgb */ color: rgb(23, 136, 23);
/* oklch */ color: oklch(54.6% 0.174 142.7);
Tailwind
colors: {
  custom: {
    50: '#6cac5f',
    500: '#178817',
    950: '#000000',
  },
}
SCSS
$custom: #178817;
$custom-light: #6cac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#178817",
  "rgb": {
    "r": 23,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54643,
    "c": 0.17406,
    "h": 142.7
  },
  "luminance": 0.17852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178817

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

Preview Lab → · Contrast checker → · Palette generator →

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