#177E1C#177E1C

#177E1C is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.160 H 143.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#177E1C
RGBrgb(23, 126, 28)
HSLhsl(123, 69%, 29%)
HSVhsv(123, 82%, 49%)
CMYKcmyk(81.7%, 0%, 77.8%, 50.6%)
CIE-LABlab(45.89, -47.43, 42.47)
CIE-LCHlch(45.89, 63.67, 138.15°)
OKLaboklab(51.8% -0.1285 0.0958)
OKLCHoklch(51.8% 0.16 143.3)
XYZxyz(8.0233, 15.1867, 3.6069)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E1C #7E1779
analogous
#467E17 #177E1C #177E50
triadic
#177E1C #1C177E #7E1C17
tetradic
#177E1C #17467E #7E1779 #7E5017
square
#177E1C #17467E #7E1779 #7E5017
split-complementary
#177E1C #50177E #7E1746
monochromatic
#051A06 #0E4A10 #177E1C #20B228 #35DA3D

Accessibility & contrast

On white

5.20
#177E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#177E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E1C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E1C#FFFFFF#000000##FFFFFF
##177E1C1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817107
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e1c;
/* rgb */ color: rgb(23, 126, 28);
/* oklch */ color: oklch(51.8% 0.160 143.3);
Tailwind
colors: {
  custom: {
    50: '#69a460',
    500: '#177e1c',
    950: '#000000',
  },
}
SCSS
$custom: #177e1c;
$custom-light: #69a460;
$custom-dark: #000000;
JSON
{
  "hex": "#177e1c",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 122.913,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51801,
    "c": 0.16025,
    "h": 143.3
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#177E1C
secondary
#B33EAD
accent
#3CE3EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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