#177840#177840

#177840 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.123 H 152.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#177840
RGBrgb(23, 120, 64)
HSLhsl(145, 68%, 28%)
HSVhsv(145, 81%, 47%)
CMYKcmyk(80.8%, 0%, 46.7%, 52.9%)
CIE-LABlab(44.21, -40.46, 23.21)
CIE-LCHlch(44.21, 46.64, 150.16°)
OKLaboklab(50.54% -0.1087 0.0571)
OKLCHoklch(50.54% 0.123 152.3)
XYZxyz(7.9945, 13.9843, 7.1274)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177840 #78174F
analogous
#1E7817 #177840 #177870
triadic
#177840 #401778 #784017
tetradic
#177840 #171E78 #78174F #787017
square
#177840 #171E78 #78174F #787017
split-complementary
#177840 #701778 #78171E
monochromatic
#051A0E #0D4525 #177840 #21AB5B #32D878

Accessibility & contrast

On white

5.53
#177840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#177840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177840
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177840#FFFFFF#000000##FFFFFF
##1778401.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177840;
/* rgb */ color: rgb(23, 120, 64);
/* oklch */ color: oklch(50.5% 0.123 152.3);
Tailwind
colors: {
  custom: {
    50: '#66a075',
    500: '#177840',
    950: '#000000',
  },
}
SCSS
$custom: #177840;
$custom-light: #66a075;
$custom-dark: #000000;
JSON
{
  "hex": "#177840",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 145.361,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.12282,
    "h": 152.3
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#177840
secondary
#AD3E7E
accent
#3DA1EB
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #177840

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

Preview Lab → · Contrast checker → · Palette generator →

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