#177831#177831

#177831 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.137 H 147.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#177831
RGBrgb(23, 120, 49)
HSLhsl(136, 68%, 28%)
HSVhsv(136, 81%, 47%)
CMYKcmyk(80.8%, 0%, 59.2%, 52.9%)
CIE-LABlab(44.00, -42.98, 31.00)
CIE-LCHlch(44.00, 52.99, 144.19°)
OKLaboklab(50.29% -0.1156 0.0738)
OKLCHoklch(50.29% 0.137 147.4)
XYZxyz(7.6236, 13.8359, 5.1740)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177831 #78175E
analogous
#2E7817 #177831 #177861
triadic
#177831 #311778 #783117
tetradic
#177831 #172E78 #78175E #786117
square
#177831 #172E78 #78175E #786117
split-complementary
#177831 #611778 #78172E
monochromatic
#051A0A #0D451C #177831 #21AB46 #32D85E

Accessibility & contrast

On white

5.57
#177831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#177831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177831
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177831#FFFFFF#000000##FFFFFF
##1778311.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D2A
Deuteranopia (green-blind)
#6F6537
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #177831;
/* rgb */ color: rgb(23, 120, 49);
/* oklch */ color: oklch(50.3% 0.137 147.4);
Tailwind
colors: {
  custom: {
    50: '#66a06b',
    500: '#177831',
    950: '#000000',
  },
}
SCSS
$custom: #177831;
$custom-light: #66a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#177831",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 136.082,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50291,
    "c": 0.1371,
    "h": 147.4
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#177831
secondary
#AD3E8F
accent
#3DBCEB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #177831

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

Preview Lab → · Contrast checker → · Palette generator →

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