#178E1F#178E1F

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

Color values

HEX#178E1F
RGBrgb(23, 142, 31)
HSLhsl(124, 72%, 32%)
HSVhsv(124, 84%, 56%)
CMYKcmyk(83.8%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.41, -52.40, 46.86)
CIE-LCHlch(51.41, 70.29, 138.19°)
OKLaboklab(56.4% -0.1419 0.1053)
OKLCHoklch(56.4% 0.177 143.4)
XYZxyz(10.2730, 19.6258, 4.5428)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E1F #8E1786
analogous
#4A8E17 #178E1F #178E5B
triadic
#178E1F #1F178E #8E1F17
tetradic
#178E1F #174A8E #8E1786 #8E5B17
square
#178E1F #174A8E #8E1786 #8E5B17
split-complementary
#178E1F #5B178E #8E174A
monochromatic
#062508 #0E5914 #178E1F #20C32A #3FE04A

Accessibility & contrast

On white

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

On black

4.93
#178E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E1F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E1F#FFFFFF#000000##000000
##178E1F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #178e1f;
/* rgb */ color: rgb(23, 142, 31);
/* oklch */ color: oklch(56.4% 0.177 143.4);
Tailwind
colors: {
  custom: {
    50: '#6db063',
    500: '#178e1f',
    950: '#000000',
  },
}
SCSS
$custom: #178e1f;
$custom-light: #6db063;
$custom-dark: #000000;
JSON
{
  "hex": "#178e1f",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 124.034,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.17668,
    "h": 143.4
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#178E1F
secondary
#C040B8
accent
#39E3EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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