#178918#178918

#178918 is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.175 H 142.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#178918
RGBrgb(23, 137, 24)
HSLhsl(121, 71%, 31%)
HSVhsv(121, 83%, 54%)
CMYKcmyk(83.2%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.66, -51.29, 47.48)
CIE-LCHlch(49.66, 69.89, 137.21°)
OKLaboklab(54.93% -0.1392 0.1056)
OKLCHoklch(54.93% 0.175 142.8)
XYZxyz(9.4633, 18.1383, 3.8663)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178918 #891788
analogous
#4F8917 #178918 #178951
triadic
#178918 #181789 #891817
tetradic
#178918 #174F89 #891788 #895117
square
#178918 #174F89 #891788 #895117
split-complementary
#178918 #511789 #89174F
monochromatic
#052006 #0E550F #178918 #20BD21 #3CDE3E

Accessibility & contrast

On white

4.54
#178918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#178918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178918
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178918#FFFFFF#000000##000000
##1789181.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #178918;
/* rgb */ color: rgb(23, 137, 24);
/* oklch */ color: oklch(54.9% 0.175 142.8);
Tailwind
colors: {
  custom: {
    50: '#6cad5f',
    500: '#178918',
    950: '#000000',
  },
}
SCSS
$custom: #178918;
$custom-light: #6cad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#178918",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 120.526,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.1747,
    "h": 142.8
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#178918
secondary
#BD3FBC
accent
#3AECEE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178918

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

Preview Lab → · Contrast checker → · Palette generator →

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