#177240#177240

#177240 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.8% C 0.114 H 153.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#177240
RGBrgb(23, 114, 64)
HSLhsl(147, 66%, 27%)
HSVhsv(147, 80%, 45%)
CMYKcmyk(79.8%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.13, -38.08, 20.51)
CIE-LCHlch(42.13, 43.26, 151.69°)
OKLaboklab(48.82% -0.1025 0.0509)
OKLCHoklch(48.82% 0.114 153.6)
XYZxyz(7.2954, 12.5861, 6.8944)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177240 #721749
analogous
#1C7217 #177240 #17726E
triadic
#177240 #401772 #724017
tetradic
#177240 #171C72 #721749 #726E17
square
#177240 #171C72 #721749 #726E17
split-complementary
#177240 #6E1772 #72171C
monochromatic
#05190E #0D3F23 #177240 #21A55D #2ED579

Accessibility & contrast

On white

5.97
#177240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#177240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177240
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177240#FFFFFF#000000##FFFFFF
##1772401.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#676043
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #177240;
/* rgb */ color: rgb(23, 114, 64);
/* oklch */ color: oklch(48.8% 0.114 153.6);
Tailwind
colors: {
  custom: {
    50: '#649b75',
    500: '#177240',
    950: '#000000',
  },
}
SCSS
$custom: #177240;
$custom-light: #649b75;
$custom-dark: #000000;
JSON
{
  "hex": "#177240",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 147.033,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48821,
    "c": 0.11444,
    "h": 153.6
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#177240
secondary
#A83D78
accent
#3E9CE9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #177240

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

Preview Lab → · Contrast checker → · Palette generator →

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