#177818#177818

#177818 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.156 H 142.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#177818
RGBrgb(23, 120, 24)
HSLhsl(121, 68%, 28%)
HSVhsv(121, 81%, 47%)
CMYKcmyk(80.8%, 0%, 80%, 52.9%)
CIE-LABlab(43.77, -45.74, 41.83)
CIE-LCHlch(43.77, 61.98, 137.56°)
OKLaboklab(50.03% -0.1241 0.0938)
OKLCHoklch(50.03% 0.156 142.9)
XYZxyz(7.2342, 13.6802, 3.1233)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177818 #781777
analogous
#467817 #177818 #177849
triadic
#177818 #181778 #781817
tetradic
#177818 #174678 #781777 #784917
square
#177818 #174678 #781777 #784917
split-complementary
#177818 #491778 #781746
monochromatic
#051A05 #0D450E #177818 #21AB22 #32D833

Accessibility & contrast

On white

5.62
#177818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#177818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177818
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177818#FFFFFF#000000##FFFFFF
##1778181.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #177818;
/* rgb */ color: rgb(23, 120, 24);
/* oklch */ color: oklch(50.0% 0.156 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a05d',
    500: '#177818',
    950: '#000000',
  },
}
SCSS
$custom: #177818;
$custom-light: #68a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#177818",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 120.619,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50031,
    "c": 0.15558,
    "h": 142.9
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#177818
secondary
#AD3EAC
accent
#3DE9EB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #177818

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

Preview Lab → · Contrast checker → · Palette generator →

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