#176912#176912

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

Color values

HEX#176912
RGBrgb(23, 105, 18)
HSLhsl(117, 71%, 24%)
HSVhsv(117, 83%, 41%)
CMYKcmyk(78.1%, 0%, 82.9%, 58.8%)
CIE-LABlab(38.43, -41.04, 38.75)
CIE-LCHlch(38.43, 56.44, 136.64°)
OKLaboklab(45.58% -0.1116 0.0865)
OKLCHoklch(45.58% 0.141 142.2)
XYZxyz(5.5138, 10.3284, 2.2751)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176912 #641269
analogous
#436912 #176912 #126939
triadic
#176912 #121769 #691217
tetradic
#176912 #124369 #641269 #693912
square
#176912 #124369 #641269 #693912
split-complementary
#176912 #391269 #691243
monochromatic
#061A04 #0C3509 #176912 #229D1B #2ED124

Accessibility & contrast

On white

6.85
#176912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #176912
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176912#FFFFFF#000000##FFFFFF
##1769121.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #176912;
/* rgb */ color: rgb(23, 105, 18);
/* oklch */ color: oklch(45.6% 0.141 142.2);
Tailwind
colors: {
  custom: {
    50: '#649558',
    500: '#176912',
    950: '#000000',
  },
}
SCSS
$custom: #176912;
$custom-light: #649558;
$custom-dark: #000000;
JSON
{
  "hex": "#176912",
  "rgb": {
    "r": 23,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 116.552,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45576,
    "c": 0.14125,
    "h": 142.2
  },
  "luminance": 0.10329
}

Semantic roles & 50–950 ramp

primary
#176912
secondary
#9A36A1
accent
#3AEDE3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #176912

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

Preview Lab → · Contrast checker → · Palette generator →

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