#178F1D#178F1D

#178F1D is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.179 H 143.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#178F1D
RGBrgb(23, 143, 29)
HSLhsl(123, 72%, 33%)
HSVhsv(123, 84%, 56%)
CMYKcmyk(83.9%, 0%, 79.7%, 43.9%)
CIE-LABlab(51.74, -52.86, 47.86)
CIE-LCHlch(51.74, 71.31, 137.84°)
OKLaboklab(56.67% -0.1432 0.1071)
OKLCHoklch(56.67% 0.179 143.2)
XYZxyz(10.3969, 19.9145, 4.4581)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F1D #8F1789
analogous
#4D8F17 #178F1D #178F59
triadic
#178F1D #1D178F #8F1D17
tetradic
#178F1D #174D8F #8F1789 #8F5917
square
#178F1D #174D8F #8F1789 #8F5917
split-complementary
#178F1D #59178F #8F174D
monochromatic
#062608 #0F5A12 #178F1D #1FC428 #40E048

Accessibility & contrast

On white

4.21
#178F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#178F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F1D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F1D#FFFFFF#000000##000000
##178F1D1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f1d;
/* rgb */ color: rgb(23, 143, 29);
/* oklch */ color: oklch(56.7% 0.179 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db162',
    500: '#178f1d',
    950: '#000000',
  },
}
SCSS
$custom: #178f1d;
$custom-light: #6db162;
$custom-dark: #000000;
JSON
{
  "hex": "#178f1d",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 123,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.17885,
    "h": 143.2
  },
  "luminance": 0.19916
}

Semantic roles & 50–950 ramp

primary
#178F1D
secondary
#C141BA
accent
#39E6EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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