#178F1A#178F1A

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

Color values

HEX#178F1A
RGBrgb(23, 143, 26)
HSLhsl(122, 72%, 33%)
HSVhsv(122, 84%, 56%)
CMYKcmyk(83.9%, 0%, 81.8%, 43.9%)
CIE-LABlab(51.72, -53.06, 48.81)
CIE-LCHlch(51.72, 72.09, 137.39°)
OKLaboklab(56.65% -0.1439 0.1087)
OKLCHoklch(56.65% 0.18 142.9)
XYZxyz(10.3616, 19.9004, 4.2721)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F1A #8F178C
analogous
#508F17 #178F1A #178F56
triadic
#178F1A #1A178F #8F1A17
tetradic
#178F1A #17508F #8F178C #8F5617
square
#178F1A #17508F #8F178C #8F5617
split-complementary
#178F1A #56178F #8F1750
monochromatic
#062607 #0F5A10 #178F1A #1FC424 #40E044

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F1A#FFFFFF#000000##000000
##178F1A1.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)
#867829
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f1a;
/* rgb */ color: rgb(23, 143, 26);
/* oklch */ color: oklch(56.7% 0.180 142.9);
Tailwind
colors: {
  custom: {
    50: '#6eb161',
    500: '#178f1a',
    950: '#000000',
  },
}
SCSS
$custom: #178f1a;
$custom-light: #6eb161;
$custom-dark: #000000;
JSON
{
  "hex": "#178f1a",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 121.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.18032,
    "h": 142.9
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#178F1A
secondary
#C141BE
accent
#39EAEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #178F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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