#176312#176312

#176312 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.8% C 0.134 H 142.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#176312
RGBrgb(23, 99, 18)
HSLhsl(116, 69%, 23%)
HSVhsv(116, 82%, 39%)
CMYKcmyk(76.8%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.27, -38.91, 36.67)
CIE-LCHlch(36.27, 53.46, 136.70°)
OKLaboklab(43.79% -0.1059 0.0822)
OKLCHoklch(43.79% 0.134 142.2)
XYZxyz(4.9241, 9.1490, 2.0786)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176312 #5E1263
analogous
#3F6312 #176312 #126335
triadic
#176312 #121763 #631217
tetradic
#176312 #123F63 #5E1263 #633512
square
#176312 #123F63 #5E1263 #633512
split-complementary
#176312 #351263 #63123F
monochromatic
#061A05 #0B2F09 #176312 #23971B #2FCB25

Accessibility & contrast

On white

7.42
#176312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#176312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #176312
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176312#FFFFFF#000000##FFFFFF
##1763121.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#006054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #176312;
/* rgb */ color: rgb(23, 99, 18);
/* oklch */ color: oklch(43.8% 0.134 142.2);
Tailwind
colors: {
  custom: {
    50: '#629057',
    500: '#176312',
    950: '#000000',
  },
}
SCSS
$custom: #176312;
$custom-light: #629057;
$custom-dark: #000000;
JSON
{
  "hex": "#176312",
  "rgb": {
    "r": 23,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 116.296,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43785,
    "c": 0.13403,
    "h": 142.2
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#176312
secondary
#95369B
accent
#3CECE1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D03
muted
#7A7D78

Preview Lab

Preview with #176312

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

Preview Lab → · Contrast checker → · Palette generator →

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