#176812#176812

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

Color values

HEX#176812
RGBrgb(23, 104, 18)
HSLhsl(117, 70%, 24%)
HSVhsv(117, 83%, 41%)
CMYKcmyk(77.9%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.07, -40.68, 38.41)
CIE-LCHlch(38.07, 55.95, 136.65°)
OKLaboklab(45.28% -0.1107 0.0858)
OKLCHoklch(45.28% 0.14 142.2)
XYZxyz(5.4125, 10.1258, 2.2414)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176812 #631268
analogous
#426812 #176812 #126838
triadic
#176812 #121768 #681217
tetradic
#176812 #124268 #631268 #683812
square
#176812 #124268 #631268 #683812
split-complementary
#176812 #381268 #681242
monochromatic
#061A05 #0B3409 #176812 #239C1B #2ED024

Accessibility & contrast

On white

6.94
#176812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #176812
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176812#FFFFFF#000000##FFFFFF
##1768121.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #176812;
/* rgb */ color: rgb(23, 104, 18);
/* oklch */ color: oklch(45.3% 0.140 142.2);
Tailwind
colors: {
  custom: {
    50: '#649458',
    500: '#176812',
    950: '#000000',
  },
}
SCSS
$custom: #176812;
$custom-light: #649458;
$custom-dark: #000000;
JSON
{
  "hex": "#176812",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 116.512,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.14006,
    "h": 142.2
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#176812
secondary
#9A36A0
accent
#3BEDE3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #176812

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

Preview Lab → · Contrast checker → · Palette generator →

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