#178F2D#178F2D

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

Color values

HEX#178F2D
RGBrgb(23, 143, 45)
HSLhsl(131, 72%, 33%)
HSVhsv(131, 84%, 56%)
CMYKcmyk(83.9%, 0%, 68.5%, 43.9%)
CIE-LABlab(51.85, -51.44, 41.81)
CIE-LCHlch(51.85, 66.28, 140.90°)
OKLaboklab(56.8% -0.1386 0.0965)
OKLCHoklch(56.8% 0.169 145.2)
XYZxyz(10.6487, 20.0152, 5.7842)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F2D #8F1779
analogous
#3D8F17 #178F2D #178F69
triadic
#178F2D #2D178F #8F2D17
tetradic
#178F2D #173D8F #8F1779 #8F6917
square
#178F2D #173D8F #8F1779 #8F6917
split-complementary
#178F2D #69178F #8F173D
monochromatic
#06260C #0F5A1C #178F2D #1FC43E #40E05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F2D#FFFFFF#000000##000000
##178F2D1.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)
#918120
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f2d;
/* rgb */ color: rgb(23, 143, 45);
/* oklch */ color: oklch(56.8% 0.169 145.2);
Tailwind
colors: {
  custom: {
    50: '#6db16b',
    500: '#178f2d',
    950: '#000000',
  },
}
SCSS
$custom: #178f2d;
$custom-light: #6db16b;
$custom-dark: #000000;
JSON
{
  "hex": "#178f2d",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 131,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56803,
    "c": 0.16895,
    "h": 145.2
  },
  "luminance": 0.20017
}

Semantic roles & 50–950 ramp

primary
#178F2D
secondary
#C141A9
accent
#39CEEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #178F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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