#178F2A#178F2A

#178F2A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.171 H 144.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#178F2A
RGBrgb(23, 143, 42)
HSLhsl(130, 72%, 33%)
HSVhsv(130, 84%, 56%)
CMYKcmyk(83.9%, 0%, 70.6%, 43.9%)
CIE-LABlab(51.83, -51.75, 43.06)
CIE-LCHlch(51.83, 67.32, 140.24°)
OKLaboklab(56.77% -0.1396 0.0988)
OKLCHoklch(56.77% 0.171 144.7)
XYZxyz(10.5930, 19.9929, 5.4908)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F2A #8F177C
analogous
#408F17 #178F2A #178F66
triadic
#178F2A #2A178F #8F2A17
tetradic
#178F2A #17408F #8F177C #8F6617
square
#178F2A #17408F #8F177C #8F6617
split-complementary
#178F2A #66178F #8F1740
monochromatic
#06260B #0F5A1B #178F2A #1FC439 #40E059

Accessibility & contrast

On white

4.20
#178F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#178F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F2A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F2A#FFFFFF#000000##000000
##178F2A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f2a;
/* rgb */ color: rgb(23, 143, 42);
/* oklch */ color: oklch(56.8% 0.171 144.7);
Tailwind
colors: {
  custom: {
    50: '#6db169',
    500: '#178f2a',
    950: '#000000',
  },
}
SCSS
$custom: #178f2a;
$custom-light: #6db169;
$custom-dark: #000000;
JSON
{
  "hex": "#178f2a",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 129.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.17106,
    "h": 144.7
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#178F2A
secondary
#C141AD
accent
#39D2EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #178F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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