#178631#178631

#178631 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.155 H 146.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#178631
RGBrgb(23, 134, 49)
HSLhsl(134, 71%, 31%)
HSVhsv(134, 83%, 53%)
CMYKcmyk(82.8%, 0%, 63.4%, 47.5%)
CIE-LABlab(48.83, -47.93, 36.62)
CIE-LCHlch(48.83, 60.32, 142.62°)
OKLaboklab(54.3% -0.129 0.0859)
OKLCHoklch(54.3% 0.155 146.3)
XYZxyz(9.4321, 17.4530, 5.7768)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178631 #86176C
analogous
#348617 #178631 #178668
triadic
#178631 #311786 #863117
tetradic
#178631 #173486 #86176C #866817
square
#178631 #173486 #86176C #866817
split-complementary
#178631 #681786 #861734
monochromatic
#051E0B #0E521E #178631 #20BA44 #3ADD60

Accessibility & contrast

On white

4.68
#178631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#178631 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178631
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178631#FFFFFF#000000##FFFFFF
##1786311.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#7C7138
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #178631;
/* rgb */ color: rgb(23, 134, 49);
/* oklch */ color: oklch(54.3% 0.155 146.3);
Tailwind
colors: {
  custom: {
    50: '#6aaa6c',
    500: '#178631',
    950: '#000000',
  },
}
SCSS
$custom: #178631;
$custom-light: #6aaa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#178631",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 49
  },
  "hsl": {
    "h": 134.054,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.15498,
    "h": 146.3
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

primary
#178631
secondary
#BA3F9D
accent
#3AC4ED
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #178631

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

Preview Lab → · Contrast checker → · Palette generator →

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