#178620#178620

#178620 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.167 H 143.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#178620
RGBrgb(23, 134, 32)
HSLhsl(125, 71%, 31%)
HSVhsv(125, 83%, 53%)
CMYKcmyk(82.8%, 0%, 76.1%, 47.5%)
CIE-LABlab(48.68, -49.73, 43.78)
CIE-LCHlch(48.68, 66.26, 138.64°)
OKLaboklab(54.13% -0.1346 0.099)
OKLCHoklch(54.13% 0.167 143.7)
XYZxyz(9.1385, 17.3355, 4.2307)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178620 #86177D
analogous
#458617 #178620 #178657
triadic
#178620 #201786 #862017
tetradic
#178620 #174586 #86177D #865717
square
#178620 #174586 #86177D #865717
split-complementary
#178620 #571786 #861745
monochromatic
#051E07 #0E5214 #178620 #20BA2C #3ADD47

Accessibility & contrast

On white

4.70
#178620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #178620
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178620#FFFFFF#000000##FFFFFF
##1786201.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #178620;
/* rgb */ color: rgb(23, 134, 32);
/* oklch */ color: oklch(54.1% 0.167 143.7);
Tailwind
colors: {
  custom: {
    50: '#6baa63',
    500: '#178620',
    950: '#000000',
  },
}
SCSS
$custom: #178620;
$custom-light: #6baa63;
$custom-dark: #000000;
JSON
{
  "hex": "#178620",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 124.865,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.16708,
    "h": 143.7
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#178620
secondary
#BA3FB0
accent
#3ADFED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #178620

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

Preview Lab → · Contrast checker → · Palette generator →

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