#178518#178518

#178518 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.170 H 142.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#178518
RGBrgb(23, 133, 24)
HSLhsl(121, 71%, 31%)
HSVhsv(121, 83%, 52%)
CMYKcmyk(82.7%, 0%, 82%, 47.8%)
CIE-LABlab(48.29, -50.01, 46.18)
CIE-LCHlch(48.29, 68.07, 137.28°)
OKLaboklab(53.79% -0.1357 0.1029)
OKLCHoklch(53.79% 0.17 142.8)
XYZxyz(8.9052, 17.0221, 3.6802)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178518 #851784
analogous
#4D8517 #178518 #17854F
triadic
#178518 #181785 #851817
tetradic
#178518 #174D85 #851784 #854F17
square
#178518 #174D85 #851784 #854F17
split-complementary
#178518 #4F1785 #85174D
monochromatic
#051D05 #0E510F #178518 #20B921 #3ADD3B

Accessibility & contrast

On white

4.77
#178518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#178518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178518
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178518#FFFFFF#000000##FFFFFF
##1785181.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7C7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #178518;
/* rgb */ color: rgb(23, 133, 24);
/* oklch */ color: oklch(53.8% 0.170 142.8);
Tailwind
colors: {
  custom: {
    50: '#6baa5f',
    500: '#178518',
    950: '#000000',
  },
}
SCSS
$custom: #178518;
$custom-light: #6baa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#178518",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 120.545,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53789,
    "c": 0.17029,
    "h": 142.8
  },
  "luminance": 0.17023
}

Semantic roles & 50–950 ramp

primary
#178518
secondary
#B93FB8
accent
#3BECED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178518

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

Preview Lab → · Contrast checker → · Palette generator →

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