#178826#178826

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

Color values

HEX#178826
RGBrgb(23, 136, 38)
HSLhsl(128, 71%, 31%)
HSVhsv(128, 83%, 53%)
CMYKcmyk(83.1%, 0%, 72.1%, 46.7%)
CIE-LABlab(49.41, -49.84, 42.16)
CIE-LCHlch(49.41, 65.28, 139.78°)
OKLaboklab(54.75% -0.1346 0.0964)
OKLCHoklch(54.75% 0.166 144.4)
XYZxyz(9.5067, 17.9293, 4.7930)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178826 #881779
analogous
#408817 #178826 #17885E
triadic
#178826 #261788 #882617
tetradic
#178826 #174088 #881779 #885E17
square
#178826 #174088 #881779 #885E17
split-complementary
#178826 #5E1788 #881740
monochromatic
#051F09 #0E5417 #178826 #20BC35 #3BDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178826#FFFFFF#000000##000000
##1788261.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)
#8B7B17
Deuteranopia (green-blind)
#7F7230
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #178826;
/* rgb */ color: rgb(23, 136, 38);
/* oklch */ color: oklch(54.8% 0.166 144.4);
Tailwind
colors: {
  custom: {
    50: '#6bac66',
    500: '#178826',
    950: '#000000',
  },
}
SCSS
$custom: #178826;
$custom-light: #6bac66;
$custom-dark: #000000;
JSON
{
  "hex": "#178826",
  "rgb": {
    "r": 23,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 127.965,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.1656,
    "h": 144.4
  },
  "luminance": 0.1793
}

Semantic roles & 50–950 ramp

primary
#178826
secondary
#BC3FAB
accent
#3AD6EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178826

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

Preview Lab → · Contrast checker → · Palette generator →

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