#178722#178722

#178722 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.167 H 143.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#178722
RGBrgb(23, 135, 34)
HSLhsl(126, 71%, 31%)
HSVhsv(126, 83%, 53%)
CMYKcmyk(83%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.04, -49.89, 43.37)
CIE-LCHlch(49.04, 66.11, 139.00°)
OKLaboklab(54.43% -0.1349 0.0985)
OKLCHoklch(54.43% 0.167 143.9)
XYZxyz(9.3054, 17.6245, 4.4245)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178722 #87177C
analogous
#448717 #178722 #17875A
triadic
#178722 #221787 #872217
tetradic
#178722 #174487 #87177C #875A17
square
#178722 #174487 #87177C #875A17
split-complementary
#178722 #5A1787 #871744
monochromatic
#051E08 #0E5315 #178722 #20BB2F #3BDE4B

Accessibility & contrast

On white

4.64
#178722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#178722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #178722
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178722#FFFFFF#000000##FFFFFF
##1787221.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #178722;
/* rgb */ color: rgb(23, 135, 34);
/* oklch */ color: oklch(54.4% 0.167 143.9);
Tailwind
colors: {
  custom: {
    50: '#6bab64',
    500: '#178722',
    950: '#000000',
  },
}
SCSS
$custom: #178722;
$custom-light: #6bab64;
$custom-dark: #000000;
JSON
{
  "hex": "#178722",
  "rgb": {
    "r": 23,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 125.893,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54433,
    "c": 0.16702,
    "h": 143.9
  },
  "luminance": 0.17626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178722

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

Preview Lab → · Contrast checker → · Palette generator →

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