#177B2A#177B2A

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

Color values

HEX#177B2A
RGBrgb(23, 123, 42)
HSLhsl(131, 68%, 29%)
HSVhsv(131, 81%, 48%)
CMYKcmyk(81.3%, 0%, 65.9%, 51.8%)
CIE-LABlab(44.96, -44.99, 35.56)
CIE-LCHlch(44.96, 57.35, 141.67°)
OKLaboklab(51.07% -0.1212 0.083)
OKLCHoklch(51.07% 0.147 145.6)
XYZxyz(7.8537, 14.5143, 4.5777)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B2A #7B1768
analogous
#367B17 #177B2A #177B5C
triadic
#177B2A #2A177B #7B2A17
tetradic
#177B2A #17367B #7B1768 #7B5C17
square
#177B2A #17367B #7B1768 #7B5C17
split-complementary
#177B2A #5C177B #7B1736
monochromatic
#051A09 #0D4718 #177B2A #21AF3C #33D953

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177B2A#FFFFFF#000000##FFFFFF
##177B2A1.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)
#7D6F20
Deuteranopia (green-blind)
#726731
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b2a;
/* rgb */ color: rgb(23, 123, 42);
/* oklch */ color: oklch(51.1% 0.147 145.6);
Tailwind
colors: {
  custom: {
    50: '#67a267',
    500: '#177b2a',
    950: '#000000',
  },
}
SCSS
$custom: #177b2a;
$custom-light: #67a267;
$custom-dark: #000000;
JSON
{
  "hex": "#177b2a",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 131.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.14691,
    "h": 145.6
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#177B2A
secondary
#B03E9A
accent
#3CCAEB
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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