#178622#178622

#178622 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.166 H 143.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#178622
RGBrgb(23, 134, 34)
HSLhsl(126, 71%, 31%)
HSVhsv(126, 83%, 53%)
CMYKcmyk(82.8%, 0%, 74.6%, 47.5%)
CIE-LABlab(48.69, -49.56, 43.02)
CIE-LCHlch(48.69, 65.63, 139.04°)
OKLaboklab(54.15% -0.134 0.0977)
OKLCHoklch(54.15% 0.166 143.9)
XYZxyz(9.1666, 17.3467, 4.3782)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178622 #86177B
analogous
#438617 #178622 #178659
triadic
#178622 #221786 #862217
tetradic
#178622 #174386 #86177B #865917
square
#178622 #174386 #86177B #865917
split-complementary
#178622 #591786 #861743
monochromatic
#051E07 #0E5215 #178622 #20BA2F #3ADD4A

Accessibility & contrast

On white

4.70
#178622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#178622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178622
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178622#FFFFFF#000000##FFFFFF
##1786221.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #178622;
/* rgb */ color: rgb(23, 134, 34);
/* oklch */ color: oklch(54.1% 0.166 143.9);
Tailwind
colors: {
  custom: {
    50: '#6baa64',
    500: '#178622',
    950: '#000000',
  },
}
SCSS
$custom: #178622;
$custom-light: #6baa64;
$custom-dark: #000000;
JSON
{
  "hex": "#178622",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 125.946,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.16586,
    "h": 143.9
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#178622
secondary
#BA3FAE
accent
#3ADCED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178622

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

Preview Lab → · Contrast checker → · Palette generator →

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