#178827#178827

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

Color values

HEX#178827
RGBrgb(23, 136, 39)
HSLhsl(128, 71%, 31%)
HSVhsv(128, 83%, 53%)
CMYKcmyk(83.1%, 0%, 71.3%, 46.7%)
CIE-LABlab(49.42, -49.75, 41.75)
CIE-LCHlch(49.42, 64.95, 139.99°)
OKLaboklab(54.76% -0.1343 0.0957)
OKLCHoklch(54.76% 0.165 144.5)
XYZxyz(9.5231, 17.9358, 4.8791)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178827 #881778
analogous
#3F8817 #178827 #17885F
triadic
#178827 #271788 #882717
tetradic
#178827 #173F88 #881778 #885F17
square
#178827 #173F88 #881778 #885F17
split-complementary
#178827 #5F1788 #88173F
monochromatic
#051F09 #0E5418 #178827 #20BC36 #3BDE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178827#FFFFFF#000000##000000
##1788271.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)
#8B7B19
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #178827;
/* rgb */ color: rgb(23, 136, 39);
/* oklch */ color: oklch(54.8% 0.165 144.5);
Tailwind
colors: {
  custom: {
    50: '#6bac67',
    500: '#178827',
    950: '#000000',
  },
}
SCSS
$custom: #178827;
$custom-light: #6bac67;
$custom-dark: #000000;
JSON
{
  "hex": "#178827",
  "rgb": {
    "r": 23,
    "g": 136,
    "b": 39
  },
  "hsl": {
    "h": 128.496,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.16492,
    "h": 144.5
  },
  "luminance": 0.17937
}

Semantic roles & 50–950 ramp

primary
#178827
secondary
#BC3FAA
accent
#3AD4EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178827

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

Preview Lab → · Contrast checker → · Palette generator →

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