#178727#178727

#178727 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.164 H 144.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#178727
RGBrgb(23, 135, 39)
HSLhsl(129, 71%, 31%)
HSVhsv(129, 83%, 53%)
CMYKcmyk(83%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.08, -49.41, 41.39)
CIE-LCHlch(49.08, 64.46, 140.05°)
OKLaboklab(54.48% -0.1334 0.095)
OKLCHoklch(54.48% 0.164 144.6)
XYZxyz(9.3829, 17.6554, 4.8324)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178727 #871777
analogous
#3F8717 #178727 #17875F
triadic
#178727 #271787 #872717
tetradic
#178727 #173F87 #871777 #875F17
square
#178727 #173F87 #871777 #875F17
split-complementary
#178727 #5F1787 #87173F
monochromatic
#051E09 #0E5318 #178727 #20BB36 #3BDE52

Accessibility & contrast

On white

4.63
#178727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#178727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #178727
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178727#FFFFFF#000000##FFFFFF
##1787271.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#7E7130
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #178727;
/* rgb */ color: rgb(23, 135, 39);
/* oklch */ color: oklch(54.5% 0.164 144.6);
Tailwind
colors: {
  custom: {
    50: '#6bab67',
    500: '#178727',
    950: '#000000',
  },
}
SCSS
$custom: #178727;
$custom-light: #6bab67;
$custom-dark: #000000;
JSON
{
  "hex": "#178727",
  "rgb": {
    "r": 23,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 128.571,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.16374,
    "h": 144.6
  },
  "luminance": 0.17657
}

Semantic roles & 50–950 ramp

primary
#178727
secondary
#BB3FA9
accent
#3AD4EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178727

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

Preview Lab → · Contrast checker → · Palette generator →

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