#178F22#178F22

#178F22 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.176 H 143.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#178F22
RGBrgb(23, 143, 34)
HSLhsl(126, 72%, 33%)
HSVhsv(126, 84%, 56%)
CMYKcmyk(83.9%, 0%, 76.2%, 43.9%)
CIE-LABlab(51.77, -52.48, 46.14)
CIE-LCHlch(51.77, 69.88, 138.68°)
OKLaboklab(56.71% -0.142 0.1042)
OKLCHoklch(56.71% 0.176 143.7)
XYZxyz(10.4638, 19.9413, 4.8106)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F22 #8F1784
analogous
#488F17 #178F22 #178F5E
triadic
#178F22 #22178F #8F2217
tetradic
#178F22 #17488F #8F1784 #8F5E17
square
#178F22 #17488F #8F1784 #8F5E17
split-complementary
#178F22 #5E178F #8F1748
monochromatic
#062609 #0F5A15 #178F22 #1FC42F #40E04F

Accessibility & contrast

On white

4.21
#178F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#178F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F22
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F22#FFFFFF#000000##000000
##178F221.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f22;
/* rgb */ color: rgb(23, 143, 34);
/* oklch */ color: oklch(56.7% 0.176 143.7);
Tailwind
colors: {
  custom: {
    50: '#6db165',
    500: '#178f22',
    950: '#000000',
  },
}
SCSS
$custom: #178f22;
$custom-light: #6db165;
$custom-dark: #000000;
JSON
{
  "hex": "#178f22",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 125.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56707,
    "c": 0.17612,
    "h": 143.7
  },
  "luminance": 0.19943
}

Semantic roles & 50–950 ramp

primary
#178F22
secondary
#C141B5
accent
#39DEEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178F22

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

Preview Lab → · Contrast checker → · Palette generator →

#178F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva