#178E19#178E19

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

Color values

HEX#178E19
RGBrgb(23, 142, 25)
HSLhsl(121, 72%, 32%)
HSVhsv(121, 84%, 56%)
CMYKcmyk(83.8%, 0%, 82.4%, 44.3%)
CIE-LABlab(51.38, -52.81, 48.78)
CIE-LCHlch(51.38, 71.89, 137.27°)
OKLaboklab(56.36% -0.1432 0.1085)
OKLCHoklch(56.36% 0.18 142.9)
XYZxyz(10.2012, 19.5971, 4.1645)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E19 #8E178C
analogous
#518E17 #178E19 #178E54
triadic
#178E19 #19178E #8E1917
tetradic
#178E19 #17518E #8E178C #8E5417
square
#178E19 #17518E #8E178C #8E5417
split-complementary
#178E19 #54178E #8E1751
monochromatic
#062506 #0E5910 #178E19 #20C322 #3FE042

Accessibility & contrast

On white

4.27
#178E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##178E19#FFFFFF#000000##000000
##178E191.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178e19;
/* rgb */ color: rgb(23, 142, 25);
/* oklch */ color: oklch(56.4% 0.180 142.9);
Tailwind
colors: {
  custom: {
    50: '#6db061',
    500: '#178e19',
    950: '#000000',
  },
}
SCSS
$custom: #178e19;
$custom-light: #6db061;
$custom-dark: #000000;
JSON
{
  "hex": "#178e19",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 121.008,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.17969,
    "h": 142.9
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#178E19
secondary
#C040BE
accent
#39ECEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #178E19

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

Preview Lab → · Contrast checker → · Palette generator →

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