#178618#178618

#178618 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.171 H 142.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#178618
RGBrgb(23, 134, 24)
HSLhsl(121, 71%, 31%)
HSVhsv(121, 83%, 53%)
CMYKcmyk(82.8%, 0%, 82.1%, 47.5%)
CIE-LABlab(48.63, -50.33, 46.50)
CIE-LCHlch(48.63, 68.53, 137.26°)
OKLaboklab(54.08% -0.1366 0.1036)
OKLCHoklch(54.08% 0.171 142.8)
XYZxyz(9.0427, 17.2972, 3.7261)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178618 #861785
analogous
#4D8617 #178618 #178650
triadic
#178618 #181786 #861817
tetradic
#178618 #174D86 #861785 #865017
square
#178618 #174D86 #861785 #865017
split-complementary
#178618 #501786 #86174D
monochromatic
#051E05 #0E520F #178618 #20BA21 #3ADD3C

Accessibility & contrast

On white

4.71
#178618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#178618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178618
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178618#FFFFFF#000000##FFFFFF
##1786181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #178618;
/* rgb */ color: rgb(23, 134, 24);
/* oklch */ color: oklch(54.1% 0.171 142.8);
Tailwind
colors: {
  custom: {
    50: '#6baa5f',
    500: '#178618',
    950: '#000000',
  },
}
SCSS
$custom: #178618;
$custom-light: #6baa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#178618",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 120.541,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.1714,
    "h": 142.8
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#178618
secondary
#BA3FB9
accent
#3AECED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178618

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

Preview Lab → · Contrast checker → · Palette generator →

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