#178F19#178F19

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

Color values

HEX#178F19
RGBrgb(23, 143, 25)
HSLhsl(121, 72%, 33%)
HSVhsv(121, 84%, 56%)
CMYKcmyk(83.9%, 0%, 82.5%, 43.9%)
CIE-LABlab(51.72, -53.12, 49.10)
CIE-LCHlch(51.72, 72.34, 137.25°)
OKLaboklab(56.65% -0.1441 0.1092)
OKLCHoklch(56.65% 0.181 142.9)
XYZxyz(10.3506, 19.8960, 4.2143)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F19 #8F178D
analogous
#518F17 #178F19 #178F55
triadic
#178F19 #19178F #8F1917
tetradic
#178F19 #17518F #8F178D #8F5517
square
#178F19 #17518F #8F178D #8F5517
split-complementary
#178F19 #55178F #8F1751
monochromatic
#062607 #0F5A10 #178F19 #1FC422 #40E043

Accessibility & contrast

On white

4.22
#178F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F19#FFFFFF#000000##000000
##178F191.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f19;
/* rgb */ color: rgb(23, 143, 25);
/* oklch */ color: oklch(56.6% 0.181 142.9);
Tailwind
colors: {
  custom: {
    50: '#6eb161',
    500: '#178f19',
    950: '#000000',
  },
}
SCSS
$custom: #178f19;
$custom-light: #6eb161;
$custom-dark: #000000;
JSON
{
  "hex": "#178f19",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 121,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.18078,
    "h": 142.9
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#178F19
secondary
#C141BF
accent
#39ECEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #178F19

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

Preview Lab → · Contrast checker → · Palette generator →

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