#178E1E#178E1E

#178E1E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.177 H 143.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#178E1E
RGBrgb(23, 142, 30)
HSLhsl(124, 72%, 32%)
HSVhsv(124, 84%, 56%)
CMYKcmyk(83.8%, 0%, 78.9%, 44.3%)
CIE-LABlab(51.41, -52.47, 47.20)
CIE-LCHlch(51.41, 70.58, 138.03°)
OKLaboklab(56.4% -0.1421 0.1059)
OKLCHoklch(56.4% 0.177 143.3)
XYZxyz(10.2600, 19.6206, 4.4745)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E1E #8E1787
analogous
#4C8E17 #178E1E #178E59
triadic
#178E1E #1E178E #8E1E17
tetradic
#178E1E #174C8E #8E1787 #8E5917
square
#178E1E #174C8E #8E1787 #8E5917
split-complementary
#178E1E #59178E #8E174C
monochromatic
#062508 #0E5913 #178E1E #20C329 #3FE049

Accessibility & contrast

On white

4.26
#178E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#178E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E1E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E1E#FFFFFF#000000##000000
##178E1E1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918002
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178e1e;
/* rgb */ color: rgb(23, 142, 30);
/* oklch */ color: oklch(56.4% 0.177 143.3);
Tailwind
colors: {
  custom: {
    50: '#6db063',
    500: '#178e1e',
    950: '#000000',
  },
}
SCSS
$custom: #178e1e;
$custom-light: #6db063;
$custom-dark: #000000;
JSON
{
  "hex": "#178e1e",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 123.529,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.17722,
    "h": 143.3
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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