#178522#178522

#178522 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.165 H 143.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#178522
RGBrgb(23, 133, 34)
HSLhsl(126, 71%, 31%)
HSVhsv(126, 83%, 52%)
CMYKcmyk(82.7%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.35, -49.23, 42.67)
CIE-LCHlch(48.35, 65.15, 139.08°)
OKLaboklab(53.86% -0.1331 0.097)
OKLCHoklch(53.86% 0.165 143.9)
XYZxyz(9.0290, 17.0716, 4.3324)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178522 #85177A
analogous
#438517 #178522 #178559
triadic
#178522 #221785 #852217
tetradic
#178522 #174385 #85177A #855917
square
#178522 #174385 #85177A #855917
split-complementary
#178522 #591785 #851743
monochromatic
#051D07 #0E5115 #178522 #20B92F #3ADD4A

Accessibility & contrast

On white

4.76
#178522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#178522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178522
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178522#FFFFFF#000000##FFFFFF
##1785221.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #178522;
/* rgb */ color: rgb(23, 133, 34);
/* oklch */ color: oklch(53.9% 0.165 143.9);
Tailwind
colors: {
  custom: {
    50: '#6baa64',
    500: '#178522',
    950: '#000000',
  },
}
SCSS
$custom: #178522;
$custom-light: #6baa64;
$custom-dark: #000000;
JSON
{
  "hex": "#178522",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 126,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.16471,
    "h": 143.9
  },
  "luminance": 0.17073
}

Semantic roles & 50–950 ramp

primary
#178522
secondary
#B93FAD
accent
#3BDBED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #178522

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

Preview Lab → · Contrast checker → · Palette generator →

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