#178131#178131

#178131 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.149 H 146.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#178131
RGBrgb(23, 129, 49)
HSLhsl(135, 70%, 30%)
HSVhsv(135, 82%, 51%)
CMYKcmyk(82.2%, 0%, 62%, 49.4%)
CIE-LABlab(47.11, -46.20, 34.65)
CIE-LCHlch(47.11, 57.74, 143.13°)
OKLaboklab(52.87% -0.1243 0.0817)
OKLCHoklch(52.87% 0.149 146.7)
XYZxyz(8.7573, 16.1034, 5.5519)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178131 #811767
analogous
#328117 #178131 #178166
triadic
#178131 #311781 #813117
tetradic
#178131 #173281 #811767 #816617
square
#178131 #173281 #811767 #816617
split-complementary
#178131 #661781 #811732
monochromatic
#051A0A #0E4D1D #178131 #20B545 #37DB5F

Accessibility & contrast

On white

4.98
#178131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#178131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178131
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178131#FFFFFF#000000##FFFFFF
##1781311.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837529
Deuteranopia (green-blind)
#776D38
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #178131;
/* rgb */ color: rgb(23, 129, 49);
/* oklch */ color: oklch(52.9% 0.149 146.7);
Tailwind
colors: {
  custom: {
    50: '#69a76c',
    500: '#178131',
    950: '#000000',
  },
}
SCSS
$custom: #178131;
$custom-light: #69a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#178131",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 134.717,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.14872,
    "h": 146.7
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#178131
secondary
#B53E98
accent
#3BC1ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #178131

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

Preview Lab → · Contrast checker → · Palette generator →

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