#178F29#178F29

#178F29 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.172 H 144.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#178F29
RGBrgb(23, 143, 41)
HSLhsl(129, 72%, 33%)
HSVhsv(129, 84%, 56%)
CMYKcmyk(83.9%, 0%, 71.3%, 43.9%)
CIE-LABlab(51.82, -51.85, 43.46)
CIE-LCHlch(51.82, 67.66, 140.03°)
OKLaboklab(56.77% -0.1399 0.0996)
OKLCHoklch(56.77% 0.172 144.6)
XYZxyz(10.5753, 19.9859, 5.3977)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F29 #8F177D
analogous
#418F17 #178F29 #178F65
triadic
#178F29 #29178F #8F2917
tetradic
#178F29 #17418F #8F177D #8F6517
square
#178F29 #17418F #8F177D #8F6517
split-complementary
#178F29 #65178F #8F1741
monochromatic
#06260B #0F5A1A #178F29 #1FC438 #40E058

Accessibility & contrast

On white

4.20
#178F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#178F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F29
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F29#FFFFFF#000000##000000
##178F291.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f29;
/* rgb */ color: rgb(23, 143, 41);
/* oklch */ color: oklch(56.8% 0.172 144.6);
Tailwind
colors: {
  custom: {
    50: '#6db169',
    500: '#178f29',
    950: '#000000',
  },
}
SCSS
$custom: #178f29;
$custom-light: #6db169;
$custom-dark: #000000;
JSON
{
  "hex": "#178f29",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 129,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.17174,
    "h": 144.6
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#178F29
secondary
#C141AE
accent
#39D4EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178F29

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

Preview Lab → · Contrast checker → · Palette generator →

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