#178626#178626

#178626 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.2% C 0.163 H 144.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#178626
RGBrgb(23, 134, 38)
HSLhsl(128, 71%, 31%)
HSVhsv(128, 83%, 53%)
CMYKcmyk(82.8%, 0%, 71.6%, 47.5%)
CIE-LABlab(48.72, -49.18, 41.44)
CIE-LCHlch(48.72, 64.31, 139.89°)
OKLaboklab(54.18% -0.1328 0.0949)
OKLCHoklch(54.18% 0.163 144.4)
XYZxyz(9.2277, 17.3712, 4.7000)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178626 #861777
analogous
#3F8617 #178626 #17865D
triadic
#178626 #261786 #862617
tetradic
#178626 #173F86 #861777 #865D17
square
#178626 #173F86 #861777 #865D17
split-complementary
#178626 #5D1786 #86173F
monochromatic
#051E08 #0E5217 #178626 #20BA35 #3ADD50

Accessibility & contrast

On white

4.69
#178626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#178626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178626
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178626#FFFFFF#000000##FFFFFF
##1786261.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897918
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #178626;
/* rgb */ color: rgb(23, 134, 38);
/* oklch */ color: oklch(54.2% 0.163 144.4);
Tailwind
colors: {
  custom: {
    50: '#6baa66',
    500: '#178626',
    950: '#000000',
  },
}
SCSS
$custom: #178626;
$custom-light: #6baa66;
$custom-dark: #000000;
JSON
{
  "hex": "#178626",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 128.108,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54182,
    "c": 0.16324,
    "h": 144.4
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#178626
secondary
#BA3FA9
accent
#3AD5ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178626

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

Preview Lab → · Contrast checker → · Palette generator →

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