#177817#177817

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

Color values

HEX#177817
RGBrgb(23, 120, 23)
HSLhsl(120, 68%, 28%)
HSVhsv(120, 81%, 47%)
CMYKcmyk(80.8%, 0%, 80.8%, 52.9%)
CIE-LABlab(43.76, -45.81, 42.17)
CIE-LCHlch(43.76, 62.27, 137.37°)
OKLaboklab(50.02% -0.1243 0.0944)
OKLCHoklch(50.02% 0.156 142.8)
XYZxyz(7.2240, 13.6761, 3.0695)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177817 #781778
analogous
#477817 #177817 #177847
triadic
#177817 #171778 #781717
tetradic
#177817 #174778 #781778 #784717
square
#177817 #174778 #781778 #784717
split-complementary
#177817 #471778 #781747
monochromatic
#051A05 #0D450D #177817 #21AB21 #32D832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177817#FFFFFF#000000##FFFFFF
##1778171.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)
#7B6C00
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #177817;
/* rgb */ color: rgb(23, 120, 23);
/* oklch */ color: oklch(50.0% 0.156 142.8);
Tailwind
colors: {
  custom: {
    50: '#68a05c',
    500: '#177817',
    950: '#000000',
  },
}
SCSS
$custom: #177817;
$custom-light: #68a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#177817",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.15612,
    "h": 142.8
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#177817
secondary
#AD3EAD
accent
#3DEBEB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #177817

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

Preview Lab → · Contrast checker → · Palette generator →

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