#176827#176827

#176827 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.125 H 146.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#176827
RGBrgb(23, 104, 39)
HSLhsl(132, 64%, 25%)
HSVhsv(132, 78%, 41%)
CMYKcmyk(77.9%, 0%, 62.5%, 59.2%)
CIE-LABlab(38.25, -38.47, 29.37)
CIE-LCHlch(38.25, 48.41, 142.64°)
OKLaboklab(45.49% -0.1037 0.0694)
OKLCHoklch(45.49% 0.125 146.2)
XYZxyz(5.6695, 10.2286, 3.5946)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176827 #681758
analogous
#2F6817 #176827 #176850
triadic
#176827 #271768 #682717
tetradic
#176827 #172F68 #681758 #685017
square
#176827 #172F68 #681758 #685017
split-complementary
#176827 #501768 #68172F
monochromatic
#061909 #0C3614 #176827 #229A3A #2DCC4D

Accessibility & contrast

On white

6.89
#176827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#176827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176827
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176827#FFFFFF#000000##FFFFFF
##1768271.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E20
Deuteranopia (green-blind)
#60582C
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #176827;
/* rgb */ color: rgb(23, 104, 39);
/* oklch */ color: oklch(45.5% 0.125 146.2);
Tailwind
colors: {
  custom: {
    50: '#629463',
    500: '#176827',
    950: '#000000',
  },
}
SCSS
$custom: #176827;
$custom-light: #629463;
$custom-dark: #000000;
JSON
{
  "hex": "#176827",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 131.852,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.12477,
    "h": 146.2
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#176827
secondary
#9E3D8B
accent
#41C6E7
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #176827

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

Preview Lab → · Contrast checker → · Palette generator →

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