#177837#177837

#177837 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.132 H 149.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#177837
RGBrgb(23, 120, 55)
HSLhsl(140, 68%, 28%)
HSVhsv(140, 81%, 47%)
CMYKcmyk(80.8%, 0%, 54.2%, 52.9%)
CIE-LABlab(44.07, -42.05, 27.96)
CIE-LCHlch(44.07, 50.49, 146.38°)
OKLaboklab(50.38% -0.1129 0.0675)
OKLCHoklch(50.38% 0.132 149.1)
XYZxyz(7.7588, 13.8900, 5.8858)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177837 #781758
analogous
#277817 #177837 #177867
triadic
#177837 #371778 #783717
tetradic
#177837 #172778 #781758 #786717
square
#177837 #172778 #781758 #786717
split-complementary
#177837 #671778 #781727
monochromatic
#051A0C #0D451F #177837 #21AB4F #32D868

Accessibility & contrast

On white

5.56
#177837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#177837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177837
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177837#FFFFFF#000000##FFFFFF
##1778371.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D31
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #177837;
/* rgb */ color: rgb(23, 120, 55);
/* oklch */ color: oklch(50.4% 0.132 149.1);
Tailwind
colors: {
  custom: {
    50: '#66a06f',
    500: '#177837',
    950: '#000000',
  },
}
SCSS
$custom: #177837;
$custom-light: #66a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#177837",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 55
  },
  "hsl": {
    "h": 139.794,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50381,
    "c": 0.13157,
    "h": 149.1
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#177837
secondary
#AD3E88
accent
#3DB1EB
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #177837

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

Preview Lab → · Contrast checker → · Palette generator →

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