#178C30#178C30

#178C30 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.163 H 145.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#178C30
RGBrgb(23, 140, 48)
HSLhsl(133, 72%, 32%)
HSVhsv(133, 84%, 55%)
CMYKcmyk(83.6%, 0%, 65.7%, 45.1%)
CIE-LABlab(50.86, -50.10, 39.38)
CIE-LCHlch(50.86, 63.72, 141.83°)
OKLaboklab(55.99% -0.1349 0.0917)
OKLCHoklch(55.99% 0.163 145.8)
XYZxyz(10.2642, 19.1505, 5.9512)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C30 #8C1773
analogous
#388C17 #178C30 #178C6B
triadic
#178C30 #30178C #8C3017
tetradic
#178C30 #17388C #8C1773 #8C6B17
square
#178C30 #17388C #8C1773 #8C6B17
split-complementary
#178C30 #6B178C #8C1738
monochromatic
#06230C #0E571E #178C30 #20C142 #3EDF61

Accessibility & contrast

On white

4.35
#178C30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#178C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C30
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C30#FFFFFF#000000##000000
##178C301.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E25
Deuteranopia (green-blind)
#827638
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c30;
/* rgb */ color: rgb(23, 140, 48);
/* oklch */ color: oklch(56.0% 0.163 145.8);
Tailwind
colors: {
  custom: {
    50: '#6caf6c',
    500: '#178c30',
    950: '#000000',
  },
}
SCSS
$custom: #178c30;
$custom-light: #6caf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#178c30",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 132.821,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.16313,
    "h": 145.8
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#178C30
secondary
#BF3FA4
accent
#39C8EF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #178C30

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

Preview Lab → · Contrast checker → · Palette generator →

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