#178F18#178F18

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

Color values

HEX#178F18
RGBrgb(23, 143, 24)
HSLhsl(121, 72%, 33%)
HSVhsv(121, 84%, 56%)
CMYKcmyk(83.9%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.71, -53.19, 49.40)
CIE-LCHlch(51.71, 72.59, 137.12°)
OKLaboklab(56.64% -0.1443 0.1096)
OKLCHoklch(56.64% 0.181 142.8)
XYZxyz(10.3400, 19.8918, 4.1585)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F18 #8F178E
analogous
#528F17 #178F18 #178F54
triadic
#178F18 #18178F #8F1817
tetradic
#178F18 #17528F #8F178E #8F5417
square
#178F18 #17528F #8F178E #8F5417
split-complementary
#178F18 #54178F #8F1752
monochromatic
#062606 #0F5A0F #178F18 #1FC421 #40E041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F18#FFFFFF#000000##000000
##178F181.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: #178f18;
/* rgb */ color: rgb(23, 143, 24);
/* oklch */ color: oklch(56.6% 0.181 142.8);
Tailwind
colors: {
  custom: {
    50: '#6eb160',
    500: '#178f18',
    950: '#000000',
  },
}
SCSS
$custom: #178f18;
$custom-light: #6eb160;
$custom-dark: #000000;
JSON
{
  "hex": "#178f18",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 120.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56642,
    "c": 0.18122,
    "h": 142.8
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#178F18
secondary
#C141C0
accent
#39EDEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #178F18

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

Preview Lab → · Contrast checker → · Palette generator →

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