#177822#177822

#177822 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.149 H 144.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#177822
RGBrgb(23, 120, 34)
HSLhsl(127, 68%, 28%)
HSVhsv(127, 81%, 47%)
CMYKcmyk(80.8%, 0%, 71.7%, 52.9%)
CIE-LABlab(43.84, -44.85, 37.96)
CIE-LCHlch(43.84, 58.75, 139.75°)
OKLaboklab(50.11% -0.1212 0.0871)
OKLCHoklch(50.11% 0.149 144.3)
XYZxyz(7.3581, 13.7297, 3.7754)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177822 #78176D
analogous
#3C7817 #177822 #177852
triadic
#177822 #221778 #782217
tetradic
#177822 #173C78 #78176D #785217
square
#177822 #173C78 #78176D #785217
split-complementary
#177822 #521778 #78173C
monochromatic
#051A07 #0D4513 #177822 #21AB31 #32D845

Accessibility & contrast

On white

5.61
#177822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#177822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177822
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177822#FFFFFF#000000##FFFFFF
##1778221.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C15
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #177822;
/* rgb */ color: rgb(23, 120, 34);
/* oklch */ color: oklch(50.1% 0.149 144.3);
Tailwind
colors: {
  custom: {
    50: '#67a062',
    500: '#177822',
    950: '#000000',
  },
}
SCSS
$custom: #177822;
$custom-light: #67a062;
$custom-dark: #000000;
JSON
{
  "hex": "#177822",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 126.804,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.14926,
    "h": 144.3
  },
  "luminance": 0.13731
}

Semantic roles & 50–950 ramp

primary
#177822
secondary
#AD3EA1
accent
#3DD7EB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #177822

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

Preview Lab → · Contrast checker → · Palette generator →

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