#177B18#177B18

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

Color values

HEX#177B18
RGBrgb(23, 123, 24)
HSLhsl(121, 68%, 29%)
HSVhsv(121, 81%, 48%)
CMYKcmyk(81.3%, 0%, 80.5%, 51.8%)
CIE-LABlab(44.82, -46.74, 42.85)
CIE-LCHlch(44.82, 63.41, 137.49°)
OKLaboklab(50.9% -0.1268 0.096)
OKLCHoklch(50.9% 0.159 142.9)
XYZxyz(7.6007, 14.4131, 3.2454)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B18 #7B177A
analogous
#487B17 #177B18 #177B4A
triadic
#177B18 #18177B #7B1817
tetradic
#177B18 #17487B #7B177A #7B4A17
square
#177B18 #17487B #7B177A #7B4A17
split-complementary
#177B18 #4A177B #7B1748
monochromatic
#051A05 #0D470E #177B18 #21AF22 #33D935

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177B18#FFFFFF#000000##FFFFFF
##177B181.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)
#7E6F00
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b18;
/* rgb */ color: rgb(23, 123, 24);
/* oklch */ color: oklch(50.9% 0.159 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a25d',
    500: '#177b18',
    950: '#000000',
  },
}
SCSS
$custom: #177b18;
$custom-light: #68a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#177b18",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 120.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.15903,
    "h": 142.9
  },
  "luminance": 0.14414
}

Semantic roles & 50–950 ramp

primary
#177B18
secondary
#B03EAF
accent
#3CEAEB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177B18

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

Preview Lab → · Contrast checker → · Palette generator →

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