#178F1E#178F1E

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

Color values

HEX#178F1E
RGBrgb(23, 143, 30)
HSLhsl(124, 72%, 33%)
HSVhsv(124, 84%, 56%)
CMYKcmyk(83.9%, 0%, 79%, 43.9%)
CIE-LABlab(51.75, -52.79, 47.53)
CIE-LCHlch(51.75, 71.03, 138.00°)
OKLaboklab(56.68% -0.143 0.1066)
OKLCHoklch(56.68% 0.178 143.3)
XYZxyz(10.4095, 19.9195, 4.5243)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F1E #8F1788
analogous
#4C8F17 #178F1E #178F5A
triadic
#178F1E #1E178F #8F1E17
tetradic
#178F1E #174C8F #8F1788 #8F5A17
square
#178F1E #174C8F #8F1788 #8F5A17
split-complementary
#178F1E #5A178F #8F174C
monochromatic
#062608 #0F5A13 #178F1E #1FC429 #40E049

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F1E#FFFFFF#000000##000000
##178F1E1.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)
#928101
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f1e;
/* rgb */ color: rgb(23, 143, 30);
/* oklch */ color: oklch(56.7% 0.178 143.3);
Tailwind
colors: {
  custom: {
    50: '#6db163',
    500: '#178f1e',
    950: '#000000',
  },
}
SCSS
$custom: #178f1e;
$custom-light: #6db163;
$custom-dark: #000000;
JSON
{
  "hex": "#178f1e",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 123.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.17833,
    "h": 143.3
  },
  "luminance": 0.19921
}

Semantic roles & 50–950 ramp

primary
#178F1E
secondary
#C141B9
accent
#39E4EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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