#176822#176822

#176822 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.129 H 145.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#176822
RGBrgb(23, 104, 34)
HSLhsl(128, 64%, 25%)
HSVhsv(128, 78%, 41%)
CMYKcmyk(77.9%, 0%, 67.3%, 59.2%)
CIE-LABlab(38.19, -39.13, 31.80)
CIE-LCHlch(38.19, 50.43, 140.90°)
OKLaboklab(45.43% -0.1057 0.0741)
OKLCHoklch(45.43% 0.129 145)
XYZxyz(5.5920, 10.1976, 3.1867)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176822 #68175D
analogous
#356817 #176822 #17684A
triadic
#176822 #221768 #682217
tetradic
#176822 #173568 #68175D #684A17
square
#176822 #173568 #68175D #684A17
split-complementary
#176822 #4A1768 #681735
monochromatic
#061908 #0C3612 #176822 #229A32 #2DCC43

Accessibility & contrast

On white

6.91
#176822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#176822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176822
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176822#FFFFFF#000000##FFFFFF
##1768221.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#615728
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #176822;
/* rgb */ color: rgb(23, 104, 34);
/* oklch */ color: oklch(45.4% 0.129 145.0);
Tailwind
colors: {
  custom: {
    50: '#639460',
    500: '#176822',
    950: '#000000',
  },
}
SCSS
$custom: #176822;
$custom-light: #639460;
$custom-dark: #000000;
JSON
{
  "hex": "#176822",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 128.148,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45425,
    "c": 0.12908,
    "h": 145
  },
  "luminance": 0.10198
}

Semantic roles & 50–950 ramp

primary
#176822
secondary
#9E3D91
accent
#41D0E7
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #176822

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

Preview Lab → · Contrast checker → · Palette generator →

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