#178822#178822

#178822 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.168 H 143.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#178822
RGBrgb(23, 136, 34)
HSLhsl(126, 71%, 31%)
HSVhsv(126, 83%, 53%)
CMYKcmyk(83.1%, 0%, 75%, 46.7%)
CIE-LABlab(49.38, -50.21, 43.72)
CIE-LCHlch(49.38, 66.58, 138.95°)
OKLaboklab(54.72% -0.1358 0.0992)
OKLCHoklch(54.72% 0.168 143.9)
XYZxyz(9.4456, 17.9048, 4.4712)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178822 #88177D
analogous
#448817 #178822 #17885A
triadic
#178822 #221788 #882217
tetradic
#178822 #174488 #88177D #885A17
square
#178822 #174488 #88177D #885A17
split-complementary
#178822 #5A1788 #881744
monochromatic
#051F08 #0E5415 #178822 #20BC2F #3BDE4B

Accessibility & contrast

On white

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

On black

4.58
#178822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178822
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178822#FFFFFF#000000##000000
##1788221.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0F
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #178822;
/* rgb */ color: rgb(23, 136, 34);
/* oklch */ color: oklch(54.7% 0.168 143.9);
Tailwind
colors: {
  custom: {
    50: '#6bac64',
    500: '#178822',
    950: '#000000',
  },
}
SCSS
$custom: #178822;
$custom-light: #6bac64;
$custom-dark: #000000;
JSON
{
  "hex": "#178822",
  "rgb": {
    "r": 23,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 125.841,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.16817,
    "h": 143.9
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#178822
secondary
#BC3FB0
accent
#3ADCEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178822

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

Preview Lab → · Contrast checker → · Palette generator →

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