#177A1B#177A1B

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

Color values

HEX#177A1B
RGBrgb(23, 122, 27)
HSLhsl(122, 68%, 28%)
HSVhsv(122, 81%, 48%)
CMYKcmyk(81.1%, 0%, 77.9%, 52.2%)
CIE-LABlab(44.49, -46.17, 41.45)
CIE-LCHlch(44.49, 62.05, 138.09°)
OKLaboklab(50.63% -0.1251 0.0935)
OKLCHoklch(50.63% 0.156 143.2)
XYZxyz(7.5102, 14.1795, 3.3778)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A1B #7A1776
analogous
#447A17 #177A1B #177A4C
triadic
#177A1B #1B177A #7A1B17
tetradic
#177A1B #17447A #7A1776 #7A4C17
square
#177A1B #17447A #7A1776 #7A4C17
split-complementary
#177A1B #4C177A #7A1744
monochromatic
#051A06 #0D4710 #177A1B #21AD26 #33D93A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177A1B#FFFFFF#000000##FFFFFF
##177A1B1.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)
#7D6E07
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a1b;
/* rgb */ color: rgb(23, 122, 27);
/* oklch */ color: oklch(50.6% 0.156 143.2);
Tailwind
colors: {
  custom: {
    50: '#68a15f',
    500: '#177a1b',
    950: '#000000',
  },
}
SCSS
$custom: #177a1b;
$custom-light: #68a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#177a1b",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 122.424,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50634,
    "c": 0.15619,
    "h": 143.2
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#177A1B
secondary
#AF3EAA
accent
#3DE4EB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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