#176A18#176A18

#176A18 is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.139 H 143.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#176A18
RGBrgb(23, 106, 24)
HSLhsl(121, 64%, 25%)
HSVhsv(121, 78%, 42%)
CMYKcmyk(78.3%, 0%, 77.4%, 58.4%)
CIE-LABlab(38.82, -40.91, 36.91)
CIE-LCHlch(38.82, 55.10, 137.94°)
OKLaboklab(45.92% -0.111 0.0836)
OKLCHoklch(45.92% 0.139 143)
XYZxyz(5.6719, 10.5555, 2.6025)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176A18 #6A1769
analogous
#3F6A17 #176A18 #176A41
triadic
#176A18 #18176A #6A1817
tetradic
#176A18 #173F6A #6A1769 #6A4117
square
#176A18 #173F6A #6A1769 #6A4117
split-complementary
#176A18 #41176A #6A173F
monochromatic
#051906 #0C380D #176A18 #229C23 #2DCF2F

Accessibility & contrast

On white

6.75
#176A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#176A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176A18
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176A18#FFFFFF#000000##FFFFFF
##176A181.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #176a18;
/* rgb */ color: rgb(23, 106, 24);
/* oklch */ color: oklch(45.9% 0.139 143.0);
Tailwind
colors: {
  custom: {
    50: '#64965b',
    500: '#176a18',
    950: '#000000',
  },
}
SCSS
$custom: #176a18;
$custom-light: #64965b;
$custom-dark: #000000;
JSON
{
  "hex": "#176a18",
  "rgb": {
    "r": 23,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 120.723,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.13894,
    "h": 143
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#176A18
secondary
#A03D9F
accent
#40E5E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #176A18

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

Preview Lab → · Contrast checker → · Palette generator →

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