#176816#176816

#176816 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.138 H 142.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#176816
RGBrgb(23, 104, 22)
HSLhsl(119, 65%, 25%)
HSVhsv(119, 79%, 41%)
CMYKcmyk(77.9%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.09, -40.37, 36.96)
CIE-LCHlch(38.09, 54.74, 137.53°)
OKLaboklab(45.31% -0.1096 0.0834)
OKLCHoklch(45.31% 0.138 142.7)
XYZxyz(5.4482, 10.1401, 2.4290)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176816 #671668
analogous
#406816 #176816 #16683E
triadic
#176816 #161768 #681617
tetradic
#176816 #164068 #671668 #683E16
square
#176816 #164068 #671668 #683E16
split-complementary
#176816 #3E1668 #681640
monochromatic
#061905 #0C350B #176816 #229B21 #2DCD2B

Accessibility & contrast

On white

6.93
#176816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#176816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176816
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176816#FFFFFF#000000##FFFFFF
##1768161.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #176816;
/* rgb */ color: rgb(23, 104, 22);
/* oklch */ color: oklch(45.3% 0.138 142.7);
Tailwind
colors: {
  custom: {
    50: '#639459',
    500: '#176816',
    950: '#000000',
  },
}
SCSS
$custom: #176816;
$custom-light: #639459;
$custom-dark: #000000;
JSON
{
  "hex": "#176816",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 119.268,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45307,
    "c": 0.13776,
    "h": 142.7
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#176816
secondary
#9D3B9F
accent
#40E8E6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #176816

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

Preview Lab → · Contrast checker → · Palette generator →

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