#178617#178617

#178617 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.172 H 142.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#178617
RGBrgb(23, 134, 23)
HSLhsl(120, 71%, 31%)
HSVhsv(120, 83%, 53%)
CMYKcmyk(82.8%, 0%, 82.8%, 47.5%)
CIE-LABlab(48.63, -50.40, 46.81)
CIE-LCHlch(48.63, 68.78, 137.11°)
OKLaboklab(54.07% -0.1368 0.1041)
OKLCHoklch(54.07% 0.172 142.7)
XYZxyz(9.0325, 17.2931, 3.6723)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178617 #861786
analogous
#4E8617 #178617 #17864E
triadic
#178617 #171786 #861717
tetradic
#178617 #174E86 #861786 #864E17
square
#178617 #174E86 #861786 #864E17
split-complementary
#178617 #4E1786 #86174E
monochromatic
#051E05 #0E520E #178617 #20BA20 #3ADD3A

Accessibility & contrast

On white

4.71
#178617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#178617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178617
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178617#FFFFFF#000000##FFFFFF
##1786171.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #178617;
/* rgb */ color: rgb(23, 134, 23);
/* oklch */ color: oklch(54.1% 0.172 142.7);
Tailwind
colors: {
  custom: {
    50: '#6baa5f',
    500: '#178617',
    950: '#000000',
  },
}
SCSS
$custom: #178617;
$custom-light: #6baa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#178617",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.17187,
    "h": 142.7
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#178617
secondary
#BA3FBA
accent
#3AEDED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178617

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

Preview Lab → · Contrast checker → · Palette generator →

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