#177816#177816

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

Color values

HEX#177816
RGBrgb(23, 120, 22)
HSLhsl(119, 69%, 28%)
HSVhsv(119, 82%, 47%)
CMYKcmyk(80.8%, 0%, 81.7%, 52.9%)
CIE-LABlab(43.76, -45.88, 42.51)
CIE-LCHlch(43.76, 62.55, 137.19°)
OKLaboklab(50.02% -0.1246 0.095)
OKLCHoklch(50.02% 0.157 142.7)
XYZxyz(7.2142, 13.6722, 3.0177)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177816 #771678
analogous
#487816 #177816 #167846
triadic
#177816 #161778 #781617
tetradic
#177816 #164878 #771678 #784616
square
#177816 #164878 #771678 #784616
split-complementary
#177816 #461678 #781648
monochromatic
#051A05 #0D440D #177816 #21AC1F #31D92F

Accessibility & contrast

On white

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

On black

3.73
#177816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##177816#FFFFFF#000000##FFFFFF
##1778161.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.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: #177816;
/* rgb */ color: rgb(23, 120, 22);
/* oklch */ color: oklch(50.0% 0.157 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a05c',
    500: '#177816',
    950: '#000000',
  },
}
SCSS
$custom: #177816;
$custom-light: #68a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#177816",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 119.388,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50017,
    "c": 0.15665,
    "h": 142.7
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#177816
secondary
#AC3CAD
accent
#3CECEA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #177816

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

Preview Lab → · Contrast checker → · Palette generator →

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