#177B1A#177B1A

#177B1A is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.158 H 143.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#177B1A
RGBrgb(23, 123, 26)
HSLhsl(122, 68%, 29%)
HSVhsv(122, 81%, 48%)
CMYKcmyk(81.3%, 0%, 78.9%, 51.8%)
CIE-LABlab(44.83, -46.59, 42.16)
CIE-LCHlch(44.83, 62.83, 137.86°)
OKLaboklab(50.92% -0.1263 0.0948)
OKLCHoklch(50.92% 0.158 143.1)
XYZxyz(7.6223, 14.4217, 3.3590)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B1A #7B1778
analogous
#467B17 #177B1A #177B4C
triadic
#177B1A #1A177B #7B1A17
tetradic
#177B1A #17467B #7B1778 #7B4C17
square
#177B1A #17467B #7B1778 #7B4C17
split-complementary
#177B1A #4C177B #7B1746
monochromatic
#051A05 #0D470F #177B1A #21AF25 #33D938

Accessibility & contrast

On white

5.41
#177B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#177B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B1A
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B1A#FFFFFF#000000##FFFFFF
##177B1A1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b1a;
/* rgb */ color: rgb(23, 123, 26);
/* oklch */ color: oklch(50.9% 0.158 143.1);
Tailwind
colors: {
  custom: {
    50: '#68a25e',
    500: '#177b1a',
    950: '#000000',
  },
}
SCSS
$custom: #177b1a;
$custom-light: #68a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#177b1a",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 121.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.15793,
    "h": 143.1
  },
  "luminance": 0.14423
}

Semantic roles & 50–950 ramp

primary
#177B1A
secondary
#B03EAC
accent
#3CE6EB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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