#178A17#178A17

#178A17 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.176 H 142.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#178A17
RGBrgb(23, 138, 23)
HSLhsl(120, 71%, 32%)
HSVhsv(120, 83%, 54%)
CMYKcmyk(83.3%, 0%, 83.3%, 45.9%)
CIE-LABlab(50.00, -51.67, 48.09)
CIE-LCHlch(50.00, 70.59, 137.05°)
OKLaboklab(55.21% -0.1402 0.1068)
OKLCHoklch(55.21% 0.176 142.7)
XYZxyz(9.5959, 18.4198, 3.8601)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A17 #8A178A
analogous
#518A17 #178A17 #178A51
triadic
#178A17 #17178A #8A1717
tetradic
#178A17 #17518A #8A178A #8A5117
square
#178A17 #17518A #8A178A #8A5117
split-complementary
#178A17 #51178A #8A1751
monochromatic
#062106 #0E560E #178A17 #20BE20 #3DDF3D

Accessibility & contrast

On white

4.48
#178A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#178A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A17
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A17#FFFFFF#000000##000000
##178A171.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a17;
/* rgb */ color: rgb(23, 138, 23);
/* oklch */ color: oklch(55.2% 0.176 142.7);
Tailwind
colors: {
  custom: {
    50: '#6cad5f',
    500: '#178a17',
    950: '#000000',
  },
}
SCSS
$custom: #178a17;
$custom-light: #6cad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#178a17",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55214,
    "c": 0.17625,
    "h": 142.7
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#178A17
secondary
#BE3FBE
accent
#3AEEEE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178A17

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

Preview Lab → · Contrast checker → · Palette generator →

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