#177D18#177D18

#177D18 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.161 H 142.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#177D18
RGBrgb(23, 125, 24)
HSLhsl(121, 69%, 29%)
HSVhsv(121, 82%, 49%)
CMYKcmyk(81.6%, 0%, 80.8%, 51%)
CIE-LABlab(45.52, -47.40, 43.52)
CIE-LCHlch(45.52, 64.35, 137.44°)
OKLaboklab(51.48% -0.1286 0.0974)
OKLCHoklch(51.48% 0.161 142.9)
XYZxyz(7.8513, 14.9144, 3.3290)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D18 #7D177C
analogous
#497D17 #177D18 #177D4B
triadic
#177D18 #18177D #7D1817
tetradic
#177D18 #17497D #7D177C #7D4B17
square
#177D18 #17497D #7D177C #7D4B17
split-complementary
#177D18 #4B177D #7D1749
monochromatic
#051A05 #0D490E #177D18 #21B122 #35DA36

Accessibility & contrast

On white

5.27
#177D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#177D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177D18
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177D18#FFFFFF#000000##FFFFFF
##177D181.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #177d18;
/* rgb */ color: rgb(23, 125, 24);
/* oklch */ color: oklch(51.5% 0.161 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a45e',
    500: '#177d18',
    950: '#000000',
  },
}
SCSS
$custom: #177d18;
$custom-light: #69a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#177d18",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 120.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.16131,
    "h": 142.9
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#177D18
secondary
#B23EB1
accent
#3CEAEC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177D18

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

Preview Lab → · Contrast checker → · Palette generator →

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