#177242#177242

#177242 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.9% C 0.112 H 154.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#177242
RGBrgb(23, 114, 66)
HSLhsl(148, 66%, 27%)
HSVhsv(148, 80%, 45%)
CMYKcmyk(79.8%, 0%, 42.1%, 55.3%)
CIE-LABlab(42.17, -37.67, 19.42)
CIE-LCHlch(42.17, 42.38, 152.74°)
OKLaboklab(48.86% -0.1015 0.0483)
OKLCHoklch(48.86% 0.112 154.5)
XYZxyz(7.3533, 12.6093, 7.1995)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177242 #721747
analogous
#197217 #177242 #177270
triadic
#177242 #421772 #724217
tetradic
#177242 #171972 #721747 #727017
square
#177242 #171972 #721747 #727017
split-complementary
#177242 #701772 #721719
monochromatic
#05190F #0D3F25 #177242 #21A55F #2ED57D

Accessibility & contrast

On white

5.96
#177242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #177242
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177242#FFFFFF#000000##FFFFFF
##1772421.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683F
Deuteranopia (green-blind)
#676045
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #177242;
/* rgb */ color: rgb(23, 114, 66);
/* oklch */ color: oklch(48.9% 0.112 154.5);
Tailwind
colors: {
  custom: {
    50: '#649b77',
    500: '#177242',
    950: '#000000',
  },
}
SCSS
$custom: #177242;
$custom-light: #649b77;
$custom-dark: #000000;
JSON
{
  "hex": "#177242",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 66
  },
  "hsl": {
    "h": 148.352,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48862,
    "c": 0.11243,
    "h": 154.5
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#177242
secondary
#A83D75
accent
#3E99E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #177242

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

Preview Lab → · Contrast checker → · Palette generator →

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