#178D34#178D34

#178D34 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.161 H 146.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#178D34
RGBrgb(23, 141, 52)
HSLhsl(135, 72%, 32%)
HSVhsv(135, 84%, 55%)
CMYKcmyk(83.7%, 0%, 63.1%, 44.7%)
CIE-LABlab(51.24, -49.95, 37.95)
CIE-LCHlch(51.24, 62.73, 142.77°)
OKLaboklab(56.32% -0.1343 0.0891)
OKLCHoklch(56.32% 0.161 146.5)
XYZxyz(10.4973, 19.4785, 6.4546)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D34 #8D1770
analogous
#358D17 #178D34 #178D6F
triadic
#178D34 #34178D #8D3417
tetradic
#178D34 #17358D #8D1770 #8D6F17
square
#178D34 #17358D #8D1770 #8D6F17
split-complementary
#178D34 #6F178D #8D1735
monochromatic
#06240D #0E5821 #178D34 #20C247 #3FE066

Accessibility & contrast

On white

4.29
#178D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#178D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D34
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D34#FFFFFF#000000##000000
##178D341.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F2A
Deuteranopia (green-blind)
#82773C
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d34;
/* rgb */ color: rgb(23, 141, 52);
/* oklch */ color: oklch(56.3% 0.161 146.5);
Tailwind
colors: {
  custom: {
    50: '#6caf6f',
    500: '#178d34',
    950: '#000000',
  },
}
SCSS
$custom: #178d34;
$custom-light: #6caf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#178d34",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 134.746,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.16119,
    "h": 146.5
  },
  "luminance": 0.1948
}

Semantic roles & 50–950 ramp

primary
#178D34
secondary
#C040A0
accent
#39C2EF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081107
muted
#7B807A

Preview Lab

Preview with #178D34

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

Preview Lab → · Contrast checker → · Palette generator →

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