#178C17#178C17

#178C17 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.178 H 142.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#178C17
RGBrgb(23, 140, 23)
HSLhsl(120, 72%, 32%)
HSVhsv(120, 84%, 55%)
CMYKcmyk(83.6%, 0%, 83.6%, 45.1%)
CIE-LABlab(50.69, -52.30, 48.73)
CIE-LCHlch(50.69, 71.49, 137.02°)
OKLaboklab(55.78% -0.1419 0.1081)
OKLCHoklch(55.78% 0.178 142.7)
XYZxyz(9.8855, 18.9990, 3.9566)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C17 #8C178C
analogous
#528C17 #178C17 #178C52
triadic
#178C17 #17178C #8C1717
tetradic
#178C17 #17528C #8C178C #8C5217
square
#178C17 #17528C #8C178C #8C5217
split-complementary
#178C17 #52178C #8C1752
monochromatic
#062306 #0E570E #178C17 #20C120 #3EDF3E

Accessibility & contrast

On white

4.38
#178C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#178C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C17
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C17#FFFFFF#000000##000000
##178C171.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c17;
/* rgb */ color: rgb(23, 140, 23);
/* oklch */ color: oklch(55.8% 0.178 142.7);
Tailwind
colors: {
  custom: {
    50: '#6daf5f',
    500: '#178c17',
    950: '#000000',
  },
}
SCSS
$custom: #178c17;
$custom-light: #6daf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#178c17",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.17842,
    "h": 142.7
  },
  "luminance": 0.19
}

Semantic roles & 50–950 ramp

primary
#178C17
secondary
#BF3FBF
accent
#39EFEF
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178C17

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

Preview Lab → · Contrast checker → · Palette generator →

#178C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva