#178724#178724

#178724 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.166 H 144.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#178724
RGBrgb(23, 135, 36)
HSLhsl(127, 71%, 31%)
HSVhsv(127, 83%, 53%)
CMYKcmyk(83%, 0%, 73.3%, 47.1%)
CIE-LABlab(49.05, -49.71, 42.60)
CIE-LCHlch(49.05, 65.46, 139.40°)
OKLaboklab(54.45% -0.1343 0.0971)
OKLCHoklch(54.45% 0.166 144.1)
XYZxyz(9.3351, 17.6363, 4.5809)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178724 #87177A
analogous
#428717 #178724 #17875C
triadic
#178724 #241787 #872417
tetradic
#178724 #174287 #87177A #875C17
square
#178724 #174287 #87177A #875C17
split-complementary
#178724 #5C1787 #871742
monochromatic
#051E08 #0E5316 #178724 #20BB32 #3BDE4E

Accessibility & contrast

On white

4.64
#178724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #178724
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178724#FFFFFF#000000##FFFFFF
##1787241.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A14
Deuteranopia (green-blind)
#7E712E
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #178724;
/* rgb */ color: rgb(23, 135, 36);
/* oklch */ color: oklch(54.4% 0.166 144.1);
Tailwind
colors: {
  custom: {
    50: '#6bab65',
    500: '#178724',
    950: '#000000',
  },
}
SCSS
$custom: #178724;
$custom-light: #6bab65;
$custom-dark: #000000;
JSON
{
  "hex": "#178724",
  "rgb": {
    "r": 23,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 126.964,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.16575,
    "h": 144.1
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#178724
secondary
#BB3FAC
accent
#3AD9EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178724

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

Preview Lab → · Contrast checker → · Palette generator →

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