#177A1C#177A1C

#177A1C is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.156 H 143.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#177A1C
RGBrgb(23, 122, 28)
HSLhsl(123, 68%, 28%)
HSVhsv(123, 81%, 48%)
CMYKcmyk(81.1%, 0%, 77%, 52.2%)
CIE-LABlab(44.50, -46.09, 41.08)
CIE-LCHlch(44.50, 61.74, 138.29°)
OKLaboklab(50.64% -0.1249 0.0928)
OKLCHoklch(50.64% 0.156 143.4)
XYZxyz(7.5220, 14.1842, 3.4398)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A1C #7A1775
analogous
#437A17 #177A1C #177A4D
triadic
#177A1C #1C177A #7A1C17
tetradic
#177A1C #17437A #7A1775 #7A4D17
square
#177A1C #17437A #7A1775 #7A4D17
split-complementary
#177A1C #4D177A #7A1743
monochromatic
#051A06 #0D4710 #177A1C #21AD28 #33D93B

Accessibility & contrast

On white

5.47
#177A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#177A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A1C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A1C#FFFFFF#000000##FFFFFF
##177A1C1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a1c;
/* rgb */ color: rgb(23, 122, 28);
/* oklch */ color: oklch(50.6% 0.156 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a15f',
    500: '#177a1c',
    950: '#000000',
  },
}
SCSS
$custom: #177a1c;
$custom-light: #68a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#177a1c",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 123.03,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.1556,
    "h": 143.4
  },
  "luminance": 0.14185
}

Semantic roles & 50–950 ramp

primary
#177A1C
secondary
#AF3EA9
accent
#3DE2EB
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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