#176838#176838

#176838 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.108 H 152.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#176838
RGBrgb(23, 104, 56)
HSLhsl(144, 64%, 25%)
HSVhsv(144, 78%, 41%)
CMYKcmyk(77.9%, 0%, 46.2%, 59.2%)
CIE-LABlab(38.49, -35.62, 20.36)
CIE-LCHlch(38.49, 41.03, 150.24°)
OKLaboklab(45.77% -0.0959 0.0503)
OKLCHoklch(45.77% 0.108 152.3)
XYZxyz(6.0169, 10.3676, 5.4247)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176838 #681747
analogous
#1F6817 #176838 #176860
triadic
#176838 #381768 #683817
tetradic
#176838 #171F68 #681747 #686017
square
#176838 #171F68 #681747 #686017
split-complementary
#176838 #601768 #68171F
monochromatic
#06190D #0C361D #176838 #229A53 #2DCC6E

Accessibility & contrast

On white

6.83
#176838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#176838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176838
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176838#FFFFFF#000000##FFFFFF
##1768381.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F34
Deuteranopia (green-blind)
#5F583B
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #176838;
/* rgb */ color: rgb(23, 104, 56);
/* oklch */ color: oklch(45.8% 0.108 152.3);
Tailwind
colors: {
  custom: {
    50: '#62946f',
    500: '#176838',
    950: '#000000',
  },
}
SCSS
$custom: #176838;
$custom-light: #62946f;
$custom-dark: #000000;
JSON
{
  "hex": "#176838",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 56
  },
  "hsl": {
    "h": 144.444,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.10823,
    "h": 152.3
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#176838
secondary
#9E3D76
accent
#41A3E7
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #176838

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

Preview Lab → · Contrast checker → · Palette generator →

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