#178F17#178F17

#178F17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.182 H 142.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#178F17
RGBrgb(23, 143, 23)
HSLhsl(120, 72%, 33%)
HSVhsv(120, 84%, 56%)
CMYKcmyk(83.9%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.71, -53.24, 49.68)
CIE-LCHlch(51.71, 72.82, 136.98°)
OKLaboklab(56.64% -0.1445 0.1101)
OKLCHoklch(56.64% 0.182 142.7)
XYZxyz(10.3298, 19.8877, 4.1047)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F17 #8F178F
analogous
#538F17 #178F17 #178F53
triadic
#178F17 #17178F #8F1717
tetradic
#178F17 #17538F #8F178F #8F5317
square
#178F17 #17538F #8F178F #8F5317
split-complementary
#178F17 #53178F #8F1753
monochromatic
#062606 #0F5A0F #178F17 #1FC41F #40E040

Accessibility & contrast

On white

4.22
#178F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#178F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F17#FFFFFF#000000##000000
##178F171.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f17;
/* rgb */ color: rgb(23, 143, 23);
/* oklch */ color: oklch(56.6% 0.182 142.7);
Tailwind
colors: {
  custom: {
    50: '#6eb160',
    500: '#178f17',
    950: '#000000',
  },
}
SCSS
$custom: #178f17;
$custom-light: #6eb160;
$custom-dark: #000000;
JSON
{
  "hex": "#178f17",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56637,
    "c": 0.18166,
    "h": 142.7
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#178F17
secondary
#C141C1
accent
#39EFEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #178F17

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

Preview Lab → · Contrast checker → · Palette generator →

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