#176F18#176F18

#176F18 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.145 H 143.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#176F18
RGBrgb(23, 111, 24)
HSLhsl(121, 66%, 26%)
HSVhsv(121, 79%, 44%)
CMYKcmyk(79.3%, 0%, 78.4%, 56.5%)
CIE-LABlab(40.60, -42.67, 38.70)
CIE-LCHlch(40.60, 57.60, 137.79°)
OKLaboklab(47.4% -0.1158 0.0873)
OKLCHoklch(47.4% 0.145 143)
XYZxyz(6.2023, 11.6163, 2.7793)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F18 #6F176E
analogous
#426F17 #176F18 #176F44
triadic
#176F18 #18176F #6F1817
tetradic
#176F18 #17426F #6F176E #6F4417
square
#176F18 #17426F #6F176E #6F4417
split-complementary
#176F18 #44176F #6F1742
monochromatic
#051905 #0C3C0D #176F18 #22A223 #2DD32F

Accessibility & contrast

On white

6.32
#176F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#176F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176F18
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176F18#FFFFFF#000000##FFFFFF
##176F181.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #176f18;
/* rgb */ color: rgb(23, 111, 24);
/* oklch */ color: oklch(47.4% 0.145 143.0);
Tailwind
colors: {
  custom: {
    50: '#65995b',
    500: '#176f18',
    950: '#000000',
  },
}
SCSS
$custom: #176f18;
$custom-light: #65995b;
$custom-dark: #000000;
JSON
{
  "hex": "#176f18",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 120.682,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.14499,
    "h": 143
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#176F18
secondary
#A53DA4
accent
#3FE7E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #176F18

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

Preview Lab → · Contrast checker → · Palette generator →

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