#178831#178831

#178831 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.157 H 146.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#178831
RGBrgb(23, 136, 49)
HSLhsl(134, 71%, 31%)
HSVhsv(134, 83%, 53%)
CMYKcmyk(83.1%, 0%, 64%, 46.7%)
CIE-LABlab(49.51, -48.62, 37.39)
CIE-LCHlch(49.51, 61.34, 142.44°)
OKLaboklab(54.87% -0.1308 0.0876)
OKLCHoklch(54.87% 0.157 146.2)
XYZxyz(9.7112, 18.0110, 5.8698)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178831 #88176E
analogous
#358817 #178831 #178869
triadic
#178831 #311788 #883117
tetradic
#178831 #173588 #88176E #886917
square
#178831 #173588 #88176E #886917
split-complementary
#178831 #691788 #881735
monochromatic
#051F0B #0E541E #178831 #20BC44 #3BDE61

Accessibility & contrast

On white

4.56
#178831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#178831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178831
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178831#FFFFFF#000000##000000
##1788311.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B27
Deuteranopia (green-blind)
#7E7239
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #178831;
/* rgb */ color: rgb(23, 136, 49);
/* oklch */ color: oklch(54.9% 0.157 146.2);
Tailwind
colors: {
  custom: {
    50: '#6bac6d',
    500: '#178831',
    950: '#000000',
  },
}
SCSS
$custom: #178831;
$custom-light: #6bac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#178831",
  "rgb": {
    "r": 23,
    "g": 136,
    "b": 49
  },
  "hsl": {
    "h": 133.805,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54867,
    "c": 0.15746,
    "h": 146.2
  },
  "luminance": 0.18012
}

Semantic roles & 50–950 ramp

primary
#178831
secondary
#BC3F9F
accent
#3AC4EE
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #178831

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

Preview Lab → · Contrast checker → · Palette generator →

#178831 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva