#177942#177942

#177942 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.122 H 152.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#177942
RGBrgb(23, 121, 66)
HSLhsl(146, 68%, 28%)
HSVhsv(146, 81%, 47%)
CMYKcmyk(81%, 0%, 45.5%, 52.5%)
CIE-LABlab(44.59, -40.46, 22.58)
CIE-LCHlch(44.59, 46.34, 150.84°)
OKLaboklab(50.86% -0.1088 0.0557)
OKLCHoklch(50.86% 0.122 152.9)
XYZxyz(8.1733, 14.2493, 7.4728)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177942 #79174E
analogous
#1D7917 #177942 #177973
triadic
#177942 #421779 #794217
tetradic
#177942 #171D79 #79174E #797317
square
#177942 #171D79 #79174E #797317
split-complementary
#177942 #731779 #79171D
monochromatic
#051A0E #0D4626 #177942 #21AC5E #32D87B

Accessibility & contrast

On white

5.45
#177942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #177942
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177942#FFFFFF#000000##FFFFFF
##1779421.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3E
Deuteranopia (green-blind)
#6E6646
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177942;
/* rgb */ color: rgb(23, 121, 66);
/* oklch */ color: oklch(50.9% 0.122 152.9);
Tailwind
colors: {
  custom: {
    50: '#66a177',
    500: '#177942',
    950: '#000000',
  },
}
SCSS
$custom: #177942;
$custom-light: #66a177;
$custom-dark: #000000;
JSON
{
  "hex": "#177942",
  "rgb": {
    "r": 23,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 146.327,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50861,
    "c": 0.12224,
    "h": 152.9
  },
  "luminance": 0.1425
}

Semantic roles & 50–950 ramp

primary
#177942
secondary
#AE3E7D
accent
#3D9FEB
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #177942

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

Preview Lab → · Contrast checker → · Palette generator →

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