#177B28#177B28

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

Color values

HEX#177B28
RGBrgb(23, 123, 40)
HSLhsl(130, 68%, 29%)
HSVhsv(130, 81%, 48%)
CMYKcmyk(81.3%, 0%, 67.5%, 51.8%)
CIE-LABlab(44.94, -45.23, 36.47)
CIE-LCHlch(44.94, 58.10, 141.12°)
OKLaboklab(51.04% -0.122 0.0847)
OKLCHoklch(51.04% 0.148 145.2)
XYZxyz(7.8188, 14.5003, 4.3938)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B28 #7B176A
analogous
#387B17 #177B28 #177B5A
triadic
#177B28 #28177B #7B2817
tetradic
#177B28 #17387B #7B176A #7B5A17
square
#177B28 #17387B #7B176A #7B5A17
split-complementary
#177B28 #5A177B #7B1738
monochromatic
#051A08 #0D4717 #177B28 #21AF39 #33D950

Accessibility & contrast

On white

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

On black

3.90
#177B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##177B28#FFFFFF#000000##FFFFFF
##177B281.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1E
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b28;
/* rgb */ color: rgb(23, 123, 40);
/* oklch */ color: oklch(51.0% 0.148 145.2);
Tailwind
colors: {
  custom: {
    50: '#67a266',
    500: '#177b28',
    950: '#000000',
  },
}
SCSS
$custom: #177b28;
$custom-light: #67a266;
$custom-dark: #000000;
JSON
{
  "hex": "#177b28",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 130.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51044,
    "c": 0.14849,
    "h": 145.2
  },
  "luminance": 0.14501
}

Semantic roles & 50–950 ramp

primary
#177B28
secondary
#B03E9D
accent
#3CCEEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177B28

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

Preview Lab → · Contrast checker → · Palette generator →

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