#178819#178819

#178819 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.173 H 142.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#178819
RGBrgb(23, 136, 25)
HSLhsl(121, 71%, 31%)
HSVhsv(121, 83%, 53%)
CMYKcmyk(83.1%, 0%, 81.6%, 46.7%)
CIE-LABlab(49.33, -50.91, 46.84)
CIE-LCHlch(49.33, 69.18, 137.38°)
OKLaboklab(54.66% -0.1381 0.1044)
OKLCHoklch(54.66% 0.173 142.9)
XYZxyz(9.3324, 17.8595, 3.8749)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178819 #881786
analogous
#4D8817 #178819 #178851
triadic
#178819 #191788 #881917
tetradic
#178819 #174D88 #881786 #885117
square
#178819 #174D88 #881786 #885117
split-complementary
#178819 #511788 #88174D
monochromatic
#051F06 #0E540F #178819 #20BC23 #3BDE3E

Accessibility & contrast

On white

4.59
#178819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#178819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #178819
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178819#FFFFFF#000000##FFFFFF
##1788191.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #178819;
/* rgb */ color: rgb(23, 136, 25);
/* oklch */ color: oklch(54.7% 0.173 142.9);
Tailwind
colors: {
  custom: {
    50: '#6cac60',
    500: '#178819',
    950: '#000000',
  },
}
SCSS
$custom: #178819;
$custom-light: #6cac60;
$custom-dark: #000000;
JSON
{
  "hex": "#178819",
  "rgb": {
    "r": 23,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 121.062,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54655,
    "c": 0.17312,
    "h": 142.9
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#178819
secondary
#BC3FBA
accent
#3AEBEE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178819

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

Preview Lab → · Contrast checker → · Palette generator →

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