#177918#177918

#177918 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.157 H 142.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#177918
RGBrgb(23, 121, 24)
HSLhsl(121, 68%, 28%)
HSVhsv(121, 81%, 47%)
CMYKcmyk(81%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.12, -46.07, 42.17)
CIE-LCHlch(44.12, 62.46, 137.53°)
OKLaboklab(50.32% -0.125 0.0946)
OKLCHoklch(50.32% 0.157 142.9)
XYZxyz(7.3551, 13.9220, 3.1635)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177918 #791778
analogous
#477917 #177918 #177949
triadic
#177918 #181779 #791817
tetradic
#177918 #174779 #791778 #794917
square
#177918 #174779 #791778 #794917
split-complementary
#177918 #491779 #791747
monochromatic
#051A05 #0D460E #177918 #21AC22 #32D834

Accessibility & contrast

On white

5.55
#177918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#177918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177918
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177918#FFFFFF#000000##FFFFFF
##1779181.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #177918;
/* rgb */ color: rgb(23, 121, 24);
/* oklch */ color: oklch(50.3% 0.157 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a15d',
    500: '#177918',
    950: '#000000',
  },
}
SCSS
$custom: #177918;
$custom-light: #68a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#177918",
  "rgb": {
    "r": 23,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 120.612,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.15674,
    "h": 142.9
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#177918
secondary
#AE3EAD
accent
#3DE9EB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #177918

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

Preview Lab → · Contrast checker → · Palette generator →

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