#177827#177827

#177827 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.2% C 0.146 H 145.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#177827
RGBrgb(23, 120, 39)
HSLhsl(130, 68%, 28%)
HSVhsv(130, 81%, 47%)
CMYKcmyk(80.8%, 0%, 67.5%, 52.9%)
CIE-LABlab(43.89, -44.29, 35.77)
CIE-LCHlch(43.89, 56.93, 141.08°)
OKLaboklab(50.17% -0.1195 0.0831)
OKLCHoklch(50.17% 0.146 145.2)
XYZxyz(7.4355, 13.7607, 4.1833)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177827 #781768
analogous
#377817 #177827 #177857
triadic
#177827 #271778 #782717
tetradic
#177827 #173778 #781768 #785717
square
#177827 #173778 #781768 #785717
split-complementary
#177827 #571778 #781737
monochromatic
#051A08 #0D4516 #177827 #21AB38 #32D84D

Accessibility & contrast

On white

5.60
#177827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#177827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177827
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177827#FFFFFF#000000##FFFFFF
##1778271.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1D
Deuteranopia (green-blind)
#6F652E
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #177827;
/* rgb */ color: rgb(23, 120, 39);
/* oklch */ color: oklch(50.2% 0.146 145.2);
Tailwind
colors: {
  custom: {
    50: '#67a065',
    500: '#177827',
    950: '#000000',
  },
}
SCSS
$custom: #177827;
$custom-light: #67a065;
$custom-dark: #000000;
JSON
{
  "hex": "#177827",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 39
  },
  "hsl": {
    "h": 129.897,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.14553,
    "h": 145.2
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#177827
secondary
#AD3E9B
accent
#3DCEEB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #177827

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

Preview Lab → · Contrast checker → · Palette generator →

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