#178F1C#178F1C

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

Color values

HEX#178F1C
RGBrgb(23, 143, 28)
HSLhsl(123, 72%, 33%)
HSVhsv(123, 84%, 56%)
CMYKcmyk(83.9%, 0%, 80.4%, 43.9%)
CIE-LABlab(51.73, -52.93, 48.18)
CIE-LCHlch(51.73, 71.58, 137.69°)
OKLaboklab(56.67% -0.1434 0.1077)
OKLCHoklch(56.67% 0.179 143.1)
XYZxyz(10.3847, 19.9096, 4.3940)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F1C #8F178A
analogous
#4E8F17 #178F1C #178F58
triadic
#178F1C #1C178F #8F1C17
tetradic
#178F1C #174E8F #8F178A #8F5817
square
#178F1C #174E8F #8F178A #8F5817
split-complementary
#178F1C #58178F #8F174E
monochromatic
#062607 #0F5A12 #178F1C #1FC426 #40E047

Accessibility & contrast

On white

4.22
#178F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F1C#FFFFFF#000000##000000
##178F1C1.004.224.984.98
#FFFFFF4.221.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: #178f1c;
/* rgb */ color: rgb(23, 143, 28);
/* oklch */ color: oklch(56.7% 0.179 143.1);
Tailwind
colors: {
  custom: {
    50: '#6eb162',
    500: '#178f1c',
    950: '#000000',
  },
}
SCSS
$custom: #178f1c;
$custom-light: #6eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#178f1c",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 122.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56666,
    "c": 0.17935,
    "h": 143.1
  },
  "luminance": 0.19911
}

Semantic roles & 50–950 ramp

primary
#178F1C
secondary
#C141BB
accent
#39E7EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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