#178F34#178F34

#178F34 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.164 H 146.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#178F34
RGBrgb(23, 143, 52)
HSLhsl(135, 72%, 33%)
HSVhsv(135, 84%, 56%)
CMYKcmyk(83.9%, 0%, 63.6%, 43.9%)
CIE-LABlab(51.92, -50.62, 38.72)
CIE-LCHlch(51.92, 63.74, 142.59°)
OKLaboklab(56.88% -0.1362 0.0907)
OKLCHoklch(56.88% 0.164 146.3)
XYZxyz(10.7948, 20.0737, 6.5538)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F34 #8F1772
analogous
#368F17 #178F34 #178F70
triadic
#178F34 #34178F #8F3417
tetradic
#178F34 #17368F #8F1772 #8F7017
square
#178F34 #17368F #8F1772 #8F7017
split-complementary
#178F34 #70178F #8F1736
monochromatic
#06260E #0F5A21 #178F34 #1FC447 #40E067

Accessibility & contrast

On white

4.19
#178F34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#178F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F34
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F34#FFFFFF#000000##000000
##178F341.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812A
Deuteranopia (green-blind)
#84783C
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f34;
/* rgb */ color: rgb(23, 143, 52);
/* oklch */ color: oklch(56.9% 0.164 146.3);
Tailwind
colors: {
  custom: {
    50: '#6cb16f',
    500: '#178f34',
    950: '#000000',
  },
}
SCSS
$custom: #178f34;
$custom-light: #6cb16f;
$custom-dark: #000000;
JSON
{
  "hex": "#178f34",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 52
  },
  "hsl": {
    "h": 134.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.16364,
    "h": 146.3
  },
  "luminance": 0.20075
}

Semantic roles & 50–950 ramp

primary
#178F34
secondary
#C141A2
accent
#39C3EF
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #178F34

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

Preview Lab → · Contrast checker → · Palette generator →

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