#178422#178422

#178422 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.164 H 144.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#178422
RGBrgb(23, 132, 34)
HSLhsl(126, 70%, 30%)
HSVhsv(126, 83%, 52%)
CMYKcmyk(82.6%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.01, -48.90, 42.32)
CIE-LCHlch(48.01, 64.67, 139.13°)
OKLaboklab(53.58% -0.1322 0.0962)
OKLCHoklch(53.58% 0.164 144)
XYZxyz(8.8927, 16.7991, 4.2869)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178422 #841779
analogous
#428417 #178422 #178458
triadic
#178422 #221784 #842217
tetradic
#178422 #174284 #841779 #845817
square
#178422 #174284 #841779 #845817
split-complementary
#178422 #581784 #841742
monochromatic
#051C07 #0E5015 #178422 #20B82F #39DC49

Accessibility & contrast

On white

4.82
#178422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#178422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178422
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178422#FFFFFF#000000##FFFFFF
##1784221.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #178422;
/* rgb */ color: rgb(23, 132, 34);
/* oklch */ color: oklch(53.6% 0.164 144.0);
Tailwind
colors: {
  custom: {
    50: '#6aa963',
    500: '#178422',
    950: '#000000',
  },
}
SCSS
$custom: #178422;
$custom-light: #6aa963;
$custom-dark: #000000;
JSON
{
  "hex": "#178422",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 126.055,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.16354,
    "h": 144
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178422

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

Preview Lab → · Contrast checker → · Palette generator →

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