#176917#176917

#176917 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.138 H 142.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#176917
RGBrgb(23, 105, 23)
HSLhsl(120, 64%, 25%)
HSVhsv(120, 78%, 41%)
CMYKcmyk(78.1%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.46, -40.64, 36.94)
CIE-LCHlch(38.46, 54.92, 137.73°)
OKLaboklab(45.61% -0.1103 0.0835)
OKLCHoklch(45.61% 0.138 142.9)
XYZxyz(5.5592, 10.3465, 2.5145)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176917 #691769
analogous
#406917 #176917 #176940
triadic
#176917 #171769 #691717
tetradic
#176917 #174069 #691769 #694017
square
#176917 #174069 #691769 #694017
split-complementary
#176917 #401769 #691740
monochromatic
#051905 #0C370C #176917 #229B22 #2DCD2D

Accessibility & contrast

On white

6.84
#176917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#176917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176917
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176917#FFFFFF#000000##FFFFFF
##1769171.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #176917;
/* rgb */ color: rgb(23, 105, 23);
/* oklch */ color: oklch(45.6% 0.138 142.9);
Tailwind
colors: {
  custom: {
    50: '#64955a',
    500: '#176917',
    950: '#000000',
  },
}
SCSS
$custom: #176917;
$custom-light: #64955a;
$custom-dark: #000000;
JSON
{
  "hex": "#176917",
  "rgb": {
    "r": 23,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.13836,
    "h": 142.9
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#176917
secondary
#9F3D9F
accent
#41E7E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #176917

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

Preview Lab → · Contrast checker → · Palette generator →

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