#177B2C#177B2C

#177B2C is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.145 H 146.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#177B2C
RGBrgb(23, 123, 44)
HSLhsl(133, 68%, 29%)
HSVhsv(133, 81%, 48%)
CMYKcmyk(81.3%, 0%, 64.2%, 51.8%)
CIE-LABlab(44.98, -44.74, 34.63)
CIE-LCHlch(44.98, 56.58, 142.26°)
OKLaboklab(51.09% -0.1205 0.0812)
OKLCHoklch(51.09% 0.145 146)
XYZxyz(7.8903, 14.5290, 4.7709)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B2C #7B1766
analogous
#347B17 #177B2C #177B5E
triadic
#177B2C #2C177B #7B2C17
tetradic
#177B2C #17347B #7B1766 #7B5E17
square
#177B2C #17347B #7B1766 #7B5E17
split-complementary
#177B2C #5E177B #7B1734
monochromatic
#051A09 #0D471A #177B2C #21AF3E #33D956

Accessibility & contrast

On white

5.38
#177B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#177B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B2C
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B2C#FFFFFF#000000##FFFFFF
##177B2C1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F23
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b2c;
/* rgb */ color: rgb(23, 123, 44);
/* oklch */ color: oklch(51.1% 0.145 146.0);
Tailwind
colors: {
  custom: {
    50: '#67a268',
    500: '#177b2c',
    950: '#000000',
  },
}
SCSS
$custom: #177b2c;
$custom-light: #67a268;
$custom-dark: #000000;
JSON
{
  "hex": "#177b2c",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 132.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.14528,
    "h": 146
  },
  "luminance": 0.1453
}

Semantic roles & 50–950 ramp

primary
#177B2C
secondary
#B03E98
accent
#3CC7EB
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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