#178931#178931

#178931 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.159 H 146.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#178931
RGBrgb(23, 137, 49)
HSLhsl(134, 71%, 31%)
HSVhsv(134, 83%, 54%)
CMYKcmyk(83.2%, 0%, 64.2%, 46.3%)
CIE-LABlab(49.85, -48.96, 37.78)
CIE-LCHlch(49.85, 61.84, 142.34°)
OKLaboklab(55.15% -0.1318 0.0884)
OKLCHoklch(55.15% 0.159 146.1)
XYZxyz(9.8526, 18.2940, 5.9170)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178931 #89176F
analogous
#368917 #178931 #17896A
triadic
#178931 #311789 #893117
tetradic
#178931 #173689 #89176F #896A17
square
#178931 #173689 #89176F #896A17
split-complementary
#178931 #6A1789 #891736
monochromatic
#05200C #0E551E #178931 #20BD44 #3CDE61

Accessibility & contrast

On white

4.51
#178931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#178931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178931
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178931#FFFFFF#000000##000000
##1789311.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C27
Deuteranopia (green-blind)
#7F7339
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178931;
/* rgb */ color: rgb(23, 137, 49);
/* oklch */ color: oklch(55.1% 0.159 146.1);
Tailwind
colors: {
  custom: {
    50: '#6bad6d',
    500: '#178931',
    950: '#000000',
  },
}
SCSS
$custom: #178931;
$custom-light: #6bad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#178931",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 49
  },
  "hsl": {
    "h": 133.684,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.15869,
    "h": 146.1
  },
  "luminance": 0.18295
}

Semantic roles & 50–950 ramp

primary
#178931
secondary
#BD3FA0
accent
#3AC5EE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #178931

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

Preview Lab → · Contrast checker → · Palette generator →

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