#177B1C#177B1C

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

Color values

HEX#177B1C
RGBrgb(23, 123, 28)
HSLhsl(123, 68%, 29%)
HSVhsv(123, 81%, 48%)
CMYKcmyk(81.3%, 0%, 77.2%, 51.8%)
CIE-LABlab(44.84, -46.43, 41.43)
CIE-LCHlch(44.84, 62.22, 138.26°)
OKLaboklab(50.93% -0.1258 0.0936)
OKLCHoklch(50.93% 0.157 143.4)
XYZxyz(7.6454, 14.4310, 3.4809)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B1C #7B1776
analogous
#447B17 #177B1C #177B4E
triadic
#177B1C #1C177B #7B1C17
tetradic
#177B1C #17447B #7B1776 #7B4E17
square
#177B1C #17447B #7B1776 #7B4E17
split-complementary
#177B1C #4E177B #7B1744
monochromatic
#051A06 #0D4710 #177B1C #21AF28 #33D93C

Accessibility & contrast

On white

5.40
#177B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#177B1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B1C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B1C#FFFFFF#000000##FFFFFF
##177B1C1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #177b1c;
/* rgb */ color: rgb(23, 123, 28);
/* oklch */ color: oklch(50.9% 0.157 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a25f',
    500: '#177b1c',
    950: '#000000',
  },
}
SCSS
$custom: #177b1c;
$custom-light: #68a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#177b1c",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 123,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50932,
    "c": 0.15677,
    "h": 143.4
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#177B1C
secondary
#B03EAA
accent
#3CE3EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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