#177F1C#177F1C

#177F1C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.161 H 143.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#177F1C
RGBrgb(23, 127, 28)
HSLhsl(123, 69%, 29%)
HSVhsv(123, 82%, 50%)
CMYKcmyk(81.9%, 0%, 78%, 50.2%)
CIE-LABlab(46.24, -47.76, 42.82)
CIE-LCHlch(46.24, 64.14, 138.12°)
OKLaboklab(52.09% -0.1294 0.0965)
OKLCHoklch(52.09% 0.161 143.3)
XYZxyz(8.1518, 15.4438, 3.6497)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F1C #7F177A
analogous
#467F17 #177F1C #177F50
triadic
#177F1C #1C177F #7F1C17
tetradic
#177F1C #17467F #7F177A #7F5017
square
#177F1C #17467F #7F177A #7F5017
split-complementary
#177F1C #50177F #7F1746
monochromatic
#051A06 #0E4B11 #177F1C #20B327 #36DB3E

Accessibility & contrast

On white

5.14
#177F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#177F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F1C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F1C#FFFFFF#000000##FFFFFF
##177F1C1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827206
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f1c;
/* rgb */ color: rgb(23, 127, 28);
/* oklch */ color: oklch(52.1% 0.161 143.3);
Tailwind
colors: {
  custom: {
    50: '#69a560',
    500: '#177f1c',
    950: '#000000',
  },
}
SCSS
$custom: #177f1c;
$custom-light: #69a560;
$custom-dark: #000000;
JSON
{
  "hex": "#177f1c",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 122.885,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.1614,
    "h": 143.3
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#177F1C
secondary
#B43EAE
accent
#3CE4EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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