#177940#177940

#177940 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.124 H 152.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#177940
RGBrgb(23, 121, 64)
HSLhsl(145, 68%, 28%)
HSVhsv(145, 81%, 47%)
CMYKcmyk(81%, 0%, 47.1%, 52.5%)
CIE-LABlab(44.56, -40.84, 23.65)
CIE-LCHlch(44.56, 47.20, 149.93°)
OKLaboklab(50.82% -0.1098 0.0581)
OKLCHoklch(50.82% 0.124 152.1)
XYZxyz(8.1154, 14.2261, 7.1677)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177940 #791750
analogous
#1F7917 #177940 #177971
triadic
#177940 #401779 #794017
tetradic
#177940 #171F79 #791750 #797117
square
#177940 #171F79 #791750 #797117
split-complementary
#177940 #711779 #79171F
monochromatic
#051A0E #0D4625 #177940 #21AC5B #32D878

Accessibility & contrast

On white

5.46
#177940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#177940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177940
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177940#FFFFFF#000000##FFFFFF
##1779401.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3C
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177940;
/* rgb */ color: rgb(23, 121, 64);
/* oklch */ color: oklch(50.8% 0.124 152.1);
Tailwind
colors: {
  custom: {
    50: '#66a175',
    500: '#177940',
    950: '#000000',
  },
}
SCSS
$custom: #177940;
$custom-light: #66a175;
$custom-dark: #000000;
JSON
{
  "hex": "#177940",
  "rgb": {
    "r": 23,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 145.102,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.12422,
    "h": 152.1
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#177940
secondary
#AE3E7F
accent
#3DA2EB
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #177940

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

Preview Lab → · Contrast checker → · Palette generator →

#177940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva