#177F18#177F18

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

Color values

HEX#177F18
RGBrgb(23, 127, 24)
HSLhsl(121, 69%, 29%)
HSVhsv(121, 82%, 50%)
CMYKcmyk(81.9%, 0%, 81.1%, 50.2%)
CIE-LABlab(46.21, -48.06, 44.19)
CIE-LCHlch(46.21, 65.29, 137.40°)
OKLaboklab(52.06% -0.1304 0.0988)
OKLCHoklch(52.06% 0.164 142.9)
XYZxyz(8.1071, 15.4259, 3.4142)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F18 #7F177E
analogous
#4A7F17 #177F18 #177F4C
triadic
#177F18 #18177F #7F1817
tetradic
#177F18 #174A7F #7F177E #7F4C17
square
#177F18 #174A7F #7F177E #7F4C17
split-complementary
#177F18 #4C177F #7F174A
monochromatic
#051A05 #0E4B0E #177F18 #20B322 #36DB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177F18#FFFFFF#000000##FFFFFF
##177F181.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)
#827200
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177f18;
/* rgb */ color: rgb(23, 127, 24);
/* oklch */ color: oklch(52.1% 0.164 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a55e',
    500: '#177f18',
    950: '#000000',
  },
}
SCSS
$custom: #177f18;
$custom-light: #69a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#177f18",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 120.577,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52062,
    "c": 0.16358,
    "h": 142.9
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#177F18
secondary
#B43EB2
accent
#3CEAEC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #177F18

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

Preview Lab → · Contrast checker → · Palette generator →

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