#178F26#178F26

#178F26 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.174 H 144.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#178F26
RGBrgb(23, 143, 38)
HSLhsl(128, 72%, 33%)
HSVhsv(128, 84%, 56%)
CMYKcmyk(83.9%, 0%, 73.4%, 43.9%)
CIE-LABlab(51.80, -52.13, 44.65)
CIE-LCHlch(51.80, 68.64, 139.42°)
OKLaboklab(56.74% -0.1408 0.1017)
OKLCHoklch(56.74% 0.174 144.2)
XYZxyz(10.5249, 19.9657, 5.1324)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F26 #8F1780
analogous
#448F17 #178F26 #178F62
triadic
#178F26 #26178F #8F2617
tetradic
#178F26 #17448F #8F1780 #8F6217
square
#178F26 #17448F #8F1780 #8F6217
split-complementary
#178F26 #62178F #8F1744
monochromatic
#06260A #0F5A18 #178F26 #1FC434 #40E054

Accessibility & contrast

On white

4.21
#178F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#178F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F26
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F26#FFFFFF#000000##000000
##178F261.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f26;
/* rgb */ color: rgb(23, 143, 38);
/* oklch */ color: oklch(56.7% 0.174 144.2);
Tailwind
colors: {
  custom: {
    50: '#6db167',
    500: '#178f26',
    950: '#000000',
  },
}
SCSS
$custom: #178f26;
$custom-light: #6db167;
$custom-dark: #000000;
JSON
{
  "hex": "#178f26",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 127.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.17369,
    "h": 144.2
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

primary
#178F26
secondary
#C141B1
accent
#39D8EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178F26

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

Preview Lab → · Contrast checker → · Palette generator →

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