#176F12#176F12

#176F12 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.148 H 142.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#176F12
RGBrgb(23, 111, 18)
HSLhsl(117, 72%, 25%)
HSVhsv(117, 84%, 44%)
CMYKcmyk(79.3%, 0%, 83.8%, 56.5%)
CIE-LABlab(40.56, -43.11, 40.78)
CIE-LCHlch(40.56, 59.35, 136.59°)
OKLaboklab(47.35% -0.1173 0.0908)
OKLCHoklch(47.35% 0.148 142.3)
XYZxyz(6.1466, 11.5940, 2.4861)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F12 #6A126F
analogous
#456F12 #176F12 #126F3B
triadic
#176F12 #12176F #6F1217
tetradic
#176F12 #12456F #6A126F #6F3B12
square
#176F12 #12456F #6A126F #6F3B12
split-complementary
#176F12 #3B126F #6F1245
monochromatic
#051A04 #0C3A09 #176F12 #22A41B #2DD823

Accessibility & contrast

On white

6.33
#176F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#176F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176F12
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176F12#FFFFFF#000000##FFFFFF
##176F121.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #176f12;
/* rgb */ color: rgb(23, 111, 18);
/* oklch */ color: oklch(47.4% 0.148 142.3);
Tailwind
colors: {
  custom: {
    50: '#659959',
    500: '#176f12',
    950: '#000000',
  },
}
SCSS
$custom: #176f12;
$custom-light: #659959;
$custom-dark: #000000;
JSON
{
  "hex": "#176f12",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 116.774,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47353,
    "c": 0.1483,
    "h": 142.3
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#176F12
secondary
#A037A6
accent
#39EFE5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #176F12

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

Preview Lab → · Contrast checker → · Palette generator →

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