#178928#178928

#178928 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.165 H 144.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#178928
RGBrgb(23, 137, 40)
HSLhsl(129, 71%, 31%)
HSVhsv(129, 83%, 54%)
CMYKcmyk(83.2%, 0%, 70.8%, 46.3%)
CIE-LABlab(49.77, -49.98, 41.70)
CIE-LCHlch(49.77, 65.09, 140.16°)
OKLaboklab(55.06% -0.1349 0.0957)
OKLCHoklch(55.06% 0.165 144.6)
XYZxyz(9.6813, 18.2255, 5.0147)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178928 #891778
analogous
#3F8917 #178928 #178961
triadic
#178928 #281789 #892817
tetradic
#178928 #173F89 #891778 #896117
square
#178928 #173F89 #891778 #896117
split-complementary
#178928 #611789 #89173F
monochromatic
#052009 #0E5519 #178928 #20BD37 #3CDE54

Accessibility & contrast

On white

4.52
#178928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#178928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178928
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178928#FFFFFF#000000##000000
##1789281.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B1A
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #178928;
/* rgb */ color: rgb(23, 137, 40);
/* oklch */ color: oklch(55.1% 0.165 144.6);
Tailwind
colors: {
  custom: {
    50: '#6bad67',
    500: '#178928',
    950: '#000000',
  },
}
SCSS
$custom: #178928;
$custom-light: #6bad67;
$custom-dark: #000000;
JSON
{
  "hex": "#178928",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 128.947,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55055,
    "c": 0.16541,
    "h": 144.6
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178928

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

Preview Lab → · Contrast checker → · Palette generator →

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