#178828#178828

#178828 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.164 H 144.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#178828
RGBrgb(23, 136, 40)
HSLhsl(129, 71%, 31%)
HSVhsv(129, 83%, 53%)
CMYKcmyk(83.1%, 0%, 70.6%, 46.7%)
CIE-LABlab(49.43, -49.65, 41.34)
CIE-LCHlch(49.43, 64.60, 140.22°)
OKLaboklab(54.77% -0.134 0.095)
OKLCHoklch(54.77% 0.164 144.7)
XYZxyz(9.5398, 17.9425, 4.9675)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178828 #881777
analogous
#3E8817 #178828 #178860
triadic
#178828 #281788 #882817
tetradic
#178828 #173E88 #881777 #886017
square
#178828 #173E88 #881777 #886017
split-complementary
#178828 #601788 #88173E
monochromatic
#051F09 #0E5419 #178828 #20BC37 #3BDE54

Accessibility & contrast

On white

4.58
#178828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#178828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178828
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178828#FFFFFF#000000##000000
##1788281.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1A
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #178828;
/* rgb */ color: rgb(23, 136, 40);
/* oklch */ color: oklch(54.8% 0.164 144.7);
Tailwind
colors: {
  custom: {
    50: '#6bac67',
    500: '#178828',
    950: '#000000',
  },
}
SCSS
$custom: #178828;
$custom-light: #6bac67;
$custom-dark: #000000;
JSON
{
  "hex": "#178828",
  "rgb": {
    "r": 23,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 129.027,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.16423,
    "h": 144.7
  },
  "luminance": 0.17944
}

Semantic roles & 50–950 ramp

primary
#178828
secondary
#BC3FA9
accent
#3AD3EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178828

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

Preview Lab → · Contrast checker → · Palette generator →

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