#177B22#177B22

#177B22 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.153 H 144.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#177B22
RGBrgb(23, 123, 34)
HSLhsl(127, 68%, 29%)
HSVhsv(127, 81%, 48%)
CMYKcmyk(81.3%, 0%, 72.4%, 51.8%)
CIE-LABlab(44.89, -45.88, 39.07)
CIE-LCHlch(44.89, 60.26, 139.58°)
OKLaboklab(50.98% -0.124 0.0895)
OKLCHoklch(50.98% 0.153 144.2)
XYZxyz(7.7245, 14.4626, 3.8975)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B22 #7B1770
analogous
#3E7B17 #177B22 #177B54
triadic
#177B22 #22177B #7B2217
tetradic
#177B22 #173E7B #7B1770 #7B5417
square
#177B22 #173E7B #7B1770 #7B5417
split-complementary
#177B22 #54177B #7B173E
monochromatic
#051A07 #0D4714 #177B22 #21AF30 #33D946

Accessibility & contrast

On white

5.39
#177B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#177B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B22
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B22#FFFFFF#000000##FFFFFF
##177B221.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F15
Deuteranopia (green-blind)
#73672B
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b22;
/* rgb */ color: rgb(23, 123, 34);
/* oklch */ color: oklch(51.0% 0.153 144.2);
Tailwind
colors: {
  custom: {
    50: '#68a262',
    500: '#177b22',
    950: '#000000',
  },
}
SCSS
$custom: #177b22;
$custom-light: #68a262;
$custom-dark: #000000;
JSON
{
  "hex": "#177b22",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 126.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50983,
    "c": 0.1529,
    "h": 144.2
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#177B22
secondary
#B03EA3
accent
#3CD8EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177B22

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

Preview Lab → · Contrast checker → · Palette generator →

#177B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva