#178628#178628

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

Color values

HEX#178628
RGBrgb(23, 134, 40)
HSLhsl(129, 71%, 31%)
HSVhsv(129, 83%, 53%)
CMYKcmyk(82.8%, 0%, 70.1%, 47.5%)
CIE-LABlab(48.74, -48.98, 40.61)
CIE-LCHlch(48.74, 63.62, 140.34°)
OKLaboklab(54.2% -0.1322 0.0934)
OKLCHoklch(54.2% 0.162 144.7)
XYZxyz(9.2608, 17.3844, 4.8745)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178628 #861775
analogous
#3D8617 #178628 #17865F
triadic
#178628 #281786 #862817
tetradic
#178628 #173D86 #861775 #865F17
square
#178628 #173D86 #861775 #865F17
split-complementary
#178628 #5F1786 #86173D
monochromatic
#051E09 #0E5218 #178628 #20BA38 #3ADD53

Accessibility & contrast

On white

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

On black

4.48
#178628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##178628#FFFFFF#000000##FFFFFF
##1786281.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #178628;
/* rgb */ color: rgb(23, 134, 40);
/* oklch */ color: oklch(54.2% 0.162 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aaa67',
    500: '#178628',
    950: '#000000',
  },
}
SCSS
$custom: #178628;
$custom-light: #6aaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#178628",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 129.189,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.16185,
    "h": 144.7
  },
  "luminance": 0.17386
}

Semantic roles & 50–950 ramp

primary
#178628
secondary
#BA3FA7
accent
#3AD2ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #178628

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

Preview Lab → · Contrast checker → · Palette generator →

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