#178031#178031

#178031 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.147 H 146.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#178031
RGBrgb(23, 128, 49)
HSLhsl(135, 70%, 30%)
HSVhsv(135, 82%, 50%)
CMYKcmyk(82%, 0%, 61.7%, 49.8%)
CIE-LABlab(46.77, -45.84, 34.25)
CIE-LCHlch(46.77, 57.22, 143.24°)
OKLaboklab(52.59% -0.1233 0.0808)
OKLCHoklch(52.59% 0.147 146.8)
XYZxyz(8.6262, 15.8412, 5.5082)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178031 #801766
analogous
#328017 #178031 #178066
triadic
#178031 #311780 #803117
tetradic
#178031 #173280 #801766 #806617
square
#178031 #173280 #801766 #806617
split-complementary
#178031 #661780 #801732
monochromatic
#051A0A #0E4C1D #178031 #20B445 #36DB5F

Accessibility & contrast

On white

5.04
#178031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#178031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178031
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178031#FFFFFF#000000##FFFFFF
##1780311.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#766C38
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178031;
/* rgb */ color: rgb(23, 128, 49);
/* oklch */ color: oklch(52.6% 0.147 146.8);
Tailwind
colors: {
  custom: {
    50: '#68a66c',
    500: '#178031',
    950: '#000000',
  },
}
SCSS
$custom: #178031;
$custom-light: #68a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#178031",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 134.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52588,
    "c": 0.14745,
    "h": 146.8
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#178031
secondary
#B43E97
accent
#3BC1EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #178031

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

Preview Lab → · Contrast checker → · Palette generator →

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