#178D1E#178D1E

#178D1E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.176 H 143.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#178D1E
RGBrgb(23, 141, 30)
HSLhsl(124, 72%, 32%)
HSVhsv(124, 84%, 55%)
CMYKcmyk(83.7%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.06, -52.15, 46.87)
CIE-LCHlch(51.06, 70.12, 138.06°)
OKLaboklab(56.11% -0.1412 0.1052)
OKLCHoklch(56.11% 0.176 143.3)
XYZxyz(10.1119, 19.3244, 4.4251)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D1E #8D1786
analogous
#4B8D17 #178D1E #178D59
triadic
#178D1E #1E178D #8D1E17
tetradic
#178D1E #174B8D #8D1786 #8D5917
square
#178D1E #174B8D #8D1786 #8D5917
split-complementary
#178D1E #59178D #8D174B
monochromatic
#062408 #0E5813 #178D1E #20C229 #3FE048

Accessibility & contrast

On white

4.32
#178D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#178D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D1E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D1E#FFFFFF#000000##000000
##178D1E1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d1e;
/* rgb */ color: rgb(23, 141, 30);
/* oklch */ color: oklch(56.1% 0.176 143.3);
Tailwind
colors: {
  custom: {
    50: '#6db063',
    500: '#178d1e',
    950: '#000000',
  },
}
SCSS
$custom: #178d1e;
$custom-light: #6db063;
$custom-dark: #000000;
JSON
{
  "hex": "#178d1e",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 123.559,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56111,
    "c": 0.17612,
    "h": 143.3
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

primary
#178D1E
secondary
#C040B8
accent
#39E4EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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