#176831#176831

#176831 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.115 H 149.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#176831
RGBrgb(23, 104, 49)
HSLhsl(139, 64%, 25%)
HSVhsv(139, 78%, 41%)
CMYKcmyk(77.9%, 0%, 52.9%, 59.2%)
CIE-LABlab(38.38, -36.91, 24.18)
CIE-LCHlch(38.38, 44.12, 146.77°)
OKLaboklab(45.64% -0.0993 0.0587)
OKLCHoklch(45.64% 0.115 149.4)
XYZxyz(5.8576, 10.3039, 4.5853)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176831 #68174E
analogous
#266817 #176831 #176859
triadic
#176831 #311768 #683117
tetradic
#176831 #172668 #68174E #685917
square
#176831 #172668 #68174E #685917
split-complementary
#176831 #591768 #681726
monochromatic
#06190C #0C3619 #176831 #229A49 #2DCC60

Accessibility & contrast

On white

6.86
#176831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#176831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176831
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176831#FFFFFF#000000##FFFFFF
##1768311.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E2C
Deuteranopia (green-blind)
#5F5835
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #176831;
/* rgb */ color: rgb(23, 104, 49);
/* oklch */ color: oklch(45.6% 0.115 149.4);
Tailwind
colors: {
  custom: {
    50: '#62946a',
    500: '#176831',
    950: '#000000',
  },
}
SCSS
$custom: #176831;
$custom-light: #62946a;
$custom-dark: #000000;
JSON
{
  "hex": "#176831",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 49
  },
  "hsl": {
    "h": 139.259,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.1153,
    "h": 149.4
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#176831
secondary
#9E3D7F
accent
#41B2E7
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #176831

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

Preview Lab → · Contrast checker → · Palette generator →

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